Commit graph

2112 commits

Author SHA1 Message Date
Peter Johnson
ba463d3c26 Bump DEF_VER to 1.3.0 for release. 2014-08-10 23:18:52 -07:00
Peter Johnson
636dc92558 Allow building of static executables with cmake. 2014-08-10 23:18:46 -07:00
Peter Johnson
24e01c833f Add missing YASM_LIB_DECL declarations. 2014-08-10 12:33:52 -07:00
Peter Johnson
d3ea3ac89f genstring.py: Make Python3-compatible. 2014-08-10 12:33:52 -07:00
Peter Johnson
00c85278d1 Warnings cleanup. 2014-08-10 11:39:20 -07:00
Peter Johnson
f9a86422cf Add vsyasm to cmake build. 2014-08-10 11:39:20 -07:00
Peter Johnson
edfcd8ac85 VersionGen.cmake: Fix endif. 2014-08-10 11:39:20 -07:00
Peter Johnson
5364f236cf Update .gitignore for automake changes. 2014-08-10 11:39:20 -07:00
Peter Johnson
61c143f85b Turn on subdir-objects automake option. 2014-08-10 11:39:20 -07:00
Peter Johnson
cd1e6f51de Update gettext. 2014-08-10 11:39:19 -07:00
Peter Johnson
0b5fde7350 Add cmake files to distribution. 2014-08-10 11:39:15 -07:00
Peter Johnson
f701862b1b Bump copyright dates for 2014. 2014-08-10 10:30:28 -07:00
Peter Johnson
822bdfb4a8 Add vc12 files to distribution. 2014-08-10 00:46:58 -07:00
Peter Johnson
f7f350151f dist-hook: Copy YASM-VERSION.h to Mkfiles/vc12. 2014-08-10 00:43:17 -07:00
Peter Johnson
86fc07b574 coff-objfmt.c: Add missing break.
[#268 state:resolved]
2014-04-13 23:00:03 -07:00
Peter Johnson
dfb19929cc Merge pull request #67 from maksqwe/initalen_fix
missing 'break' in initalen()
2014-04-13 22:59:30 -07:00
Maks Naumov
bd3a470498 missing 'break' in initalen() 2014-04-11 21:05:55 +03:00
Brian Gladman
fcaf3cef58 Rename a Visual Studio 2013 build file 2014-04-06 08:40:31 +01:00
Brian Gladman
ab2cf05d1d Add Visual Studio 2013 build files 2014-04-06 08:35:10 +01:00
Peter Johnson
047c49b542 Add cpu ivybridge, haswell, broadwell, skylake. 2014-04-05 23:34:27 -07:00
Peter Johnson
0ca0ffc65f Add Intel ADX, RDSEED, and SMAP instructions. 2014-04-05 00:17:13 -07:00
Peter Johnson
1a0c61d29e Add Intel SHA instructions.
Contributed by: Mark Charney @ Intel
2014-02-14 12:03:54 -08:00
Peter Johnson
09afa42e2b Merge pull request #66 from Gramner/master
Use a larger hash table size
2014-02-14 11:33:25 -08:00
Henrik Gramner
e32ff2c2ab Use a larger hash table size
Increases compilation speed of files with a large number of macros by
around 20x.
2014-01-21 00:24:40 +01:00
Brian Gladman
87c09baff8 test commit 2013-11-13 13:15:26 +00:00
briangladman
aba12e73f4 Minor change to Python detection in the Visual Studio build to avoid spurious error message 2013-11-13 12:24:21 +00:00
Peter Johnson
964fd9a016 Optimize matching loops.
Reported by: Po-Chun Chang

[#264 state:resolved]
[#265 state:resolved]
[#266 state:resolved]
2013-08-07 22:15:20 -07:00
Peter Johnson
d8c0c39254 Update config.guess and config.sub.
[#255 state:resolved]
2013-07-03 11:25:50 -07:00
Peter Johnson
a24f4841f7 cv8: Fix line number issues with multiple files.
Patch by: Knut St. Osmundsen

[#263 state:resolved]
2013-07-03 11:06:56 -07:00
Peter Johnson
c3aa2478c6 Unbreak distcheck. 2013-06-21 10:03:05 -07:00
Peter Johnson
31c99f1fb2 Fix vpbroadcastq.
Patch by: Jason Garrett-Glaser <jason@x264.com>
2013-06-21 10:03:05 -07:00
BrianGladman
607feba6d9 Make the detection of Python in the Visual Studio 2010 build more robust 2012-11-06 09:16:28 +00:00
Peter Johnson
1db998a3d3 Add support for "function" decorator in win32/win64.
This can be used on global directives (e.g. global _foo:function) to
indicate the global is a function.  This is useful for incremental
linking in MSVC.
2012-10-19 17:25:27 -07:00
BrianGladman
8dd87f6b16 add new elf file to visual studio 2010 build 2012-09-11 19:57:20 +01:00
Peter Johnson
73caedeebd gas-parse.c: Eliminate warning. 2012-08-30 23:53:41 -07:00
Peter Johnson
243248dab1 Regen yasm_arch.7 and yasm_objfmts.7. 2012-08-30 23:53:29 -07:00
H.J. Lu
510c8dd7e6 Add support for x32
X32 is a 32-bit psABI for x86-64 with 32-bit pointer size.  More info
can be found at:

https://sites.google.com/site/x32abi/
2012-08-30 23:47:41 -07:00
Peter Johnson
9728322335 Merge pull request #64 from sgraham/fix-win32-warnings
Fix a couple warnings when building on win32
2012-08-30 23:40:42 -07:00
Peter Johnson
85f4120b6a Improve check for Cython version.
[#249 state:resolved]
2012-08-30 23:36:39 -07:00
Peter Johnson
96edd8aa0e Fix vphaddudq opcode; should be DB rather than D8. 2012-08-18 13:55:10 -07:00
Peter Johnson
73a5474278 Merge pull request #65 from vmt/master
Fix definition of pmulhrw
2012-05-31 21:43:51 -07:00
Vivek Thampi
0e7f34a025 Fix minor typo in the definition of pmulhrw
This change fixes the definition of "pmulhrw" where it is defined
as having the mnemonic "pmulhrwa".
2012-05-28 23:59:55 -07:00
Scott Graham
51b1f7ef98 fix a couple warnings when building on win32 2012-05-09 20:48:16 -07:00
Peter Johnson
82fafa7b56 Merge pull request #63 from nico/blah
Don't use a C++ comment in a C source file.
2012-03-12 23:58:35 -07:00
Nico Weber
203bc94f39 Don't use a C++ comment in a C source file. 2012-03-10 22:52:34 -08:00
Peter Johnson
8770f6073a Merge pull request #62 from nico/ticket246
In the Mach-O writer, only warn on ignored flags if the new flags are different from the old flags.

[#246 state:resolved]
2012-03-09 21:41:18 -08:00
Nico Weber
01ab853e68 In the Mach-O writer, only warn on ignored flags if the new flags
are different from the old flags.

Fixes http://tortall.lighthouseapp.com/projects/78676-yasm/tickets/246
2012-03-06 17:40:41 -08:00
Peter Johnson
cc06a6a43d Merge pull request #61 from fischman/master
Silence is golden: genperf emits too much stdout in success path
2012-03-02 14:38:30 -08:00
sergey semenko
916ff048f7 Added support for HSW TSX instructions:
XAXQUIRE
XRELEASE
XABORT
XBEGIN
XEND
XTEST

Also fixed a bug for CALL instruction (opcode 0xE8) - it allowed 16 bit operand with 0x66 prefix in 64 bit mode,
while 16 bit operand is not allowed at all in 64 bit mode.

Added X86_ACQREL prefix group for XACQUIRE/XRELEASE prefixes, since they need to be orthogonal to LOCKREP
prefixes, because TSX prefixes must come together with F0 (LOCK) prefix.

However this commit does not enforce using TSX hints only with instructions they are allowed to be used.
The reason for this is that lock prefix F0 itself is not enforced to be used only with lockable instructions, this seems to be a decision made by
Yasm developers, that user himself must take care of these situations.

Right now TSX hints can come with F0 prefix, can come with REPNE/REPZE prefixes, but they are used together in assembly, only the leftmost would be
encoded to the binary and warning will be issued. This is the behavior of Yasm for duplicate LOCKREP prefixes.
2012-03-02 14:36:30 -08:00
Jason Garrett-Glaser
a8495ad151 Add AMD TBM instructions.
Reference: http://support.amd.com/us/Processor_TechDocs/24594_APM_v3.pdf

Also add appropriate CPU bits and directive handling for these.
2012-03-02 14:29:21 -08:00