Kaz Wesley
8a87860db7
Enable AES on westmere ( #97 )
...
Prior to this change: cpu_lcd(['AVX'], ['AVX','AES']) == ['AVX'],
causing AES instructions to be treated as unsupported when "cpu
WESTMERE" is used, or even "cpu WESTMERE AES".
Fixed by reordering ordered_cpu_features such that now,
cpu_lcd(['AVX'], ['AVX','AES']) == ['AES']. I don't know if there are
CPUs this would not be correct for, but this is the value that's
consistent with all extant CPU definitions.
2023-05-12 21:18:15 -07:00
Peter Meerwald-Stadler
f2f9f157df
Allow sha256rnds2 to have memory as 2nd operand ( #108 )
2023-05-12 21:17:09 -07:00
James Touton
468014643d
Added missing config vars to config.h.cmake. ( #160 )
2023-05-12 21:16:49 -07:00
squidcc
3bbfd9d8f9
Fix 128-bit variant of VPBLENDVB incorrectly marked as AVX2 instead of AVX ( #112 )
2023-05-12 21:16:26 -07:00
kalebskeithley
0799f381d5
Update elf-objfmt.c ( #148 )
2023-05-12 21:15:02 -07:00
Matthieu Darbois
ce56a6f924
Fix test failure introduced in 51af4082cc ( #145 )
...
modules/arch/x86/tests/x86_test.sh failed after 51af4082cc commit.
This fixes this test.
2023-05-12 21:14:32 -07:00
Fighter19
529c14bfdc
Fix badly freed pointer on indented code block after rept ( #189 )
2023-05-12 21:13:44 -07:00
cryptobro
fa9e004383
gas preproc: Fix UB/crashes ( #186 )
2023-05-12 21:12:54 -07:00
Peter Meerwald-Stadler
93a960bc7d
Fix memleak of codeview leaf ( #114 )
2023-05-12 21:10:17 -07:00
liuxiang88
bfe1bc257d
Add EM for loongarch ( #192 )
2023-05-12 21:08:50 -07:00
Ismo Puustinen
61e374f247
Remove __DATE__ from version strings ( #198 )
...
Having __DATE__ is causing compilation errors when it's defined by Bazel
build tool like this: -D__DATE__=redacted
2023-05-12 21:07:35 -07:00
Biswapriyo Nath
a277a590f0
Fix detecting Windows platform ( #204 )
...
This replaces _MSC_VER macro with _WIN32 because the
former one is for MSVC and Visual Studio only and is
not defined in mingw environment. Wherease, _WIN32
macro is the proper way to check Windows platform
irrespective of compiler toolchain.
See the following official link for more info
https://learn.microsoft.com/en-us/cpp/preprocessor/predefined-macros
2023-05-12 21:06:53 -07:00
Siddhesh Poyarekar
05a52bab75
Introduce a security policy and add text to the README ( #223 )
...
Add a SECURITY.md that disclaims almost all bugs as security issues.
2023-05-12 21:06:18 -07:00
MonicaLiu
101bca9ca8
Add vcpkg installation instructions ( #200 )
...
Co-authored-by: Monica <v-liumonica@microsoft.com>
2022-09-14 16:38:24 -07:00
Brian Gladman
ffbd22cdc9
Merge branch 'master' of https://github.com/yasm/yasm
2022-01-27 16:26:06 +00:00
Brian Gladman
9d02e0f49d
Update Visual Studio build to Visual STudio 2022
2022-01-27 16:25:55 +00:00
Peter Johnson
41762bead1
Update Mach-O for newer macOS ( #180 )
...
- Create a dummy .llvmasm section for bitcode
- Add [buildversion] directive for setting minos and sdk versions, e.g. [buildversion minos="10.14" sdk="10.14"]. This defaults to 10.5 on x64 and 10.4 on x86.
2021-07-10 12:12:45 -07:00
Peter Johnson
d938d97505
Add GitHub CI build workflow ( #179 )
2021-07-09 14:49:16 -07:00
Peter Johnson
3e74376b56
Do not use AC_HEADER_STDC ( #178 )
...
This fixes compatibility with autotools 2.70+
2021-07-09 14:02:37 -07:00
Peter Johnson
f01afb6b51
Fix test failures ( #177 )
...
These were caused by the addition of the segreg-in-64bit warning.
2021-07-09 13:42:53 -07:00
Brian Gladman
009450c7ad
minor update to VS2019 build
2020-07-27 17:01:46 +01:00
Brian Gladman
c9db6d70a9
add missing include file
2020-05-04 14:54:18 +01:00
mx237
98a83602f2
Fix EOL handling in genmacro.c ( #123 )
2020-05-03 23:38:42 -07:00
Denis Denisov
bd283fe523
Revert optimizations added in #68 ( #146 )
2020-05-03 23:36:45 -07:00
Ozkan Sezer
976d2e0934
Fix info.stab / info.stabstr typo in stabs-dbgfmt.c ( #96 )
2020-05-03 23:35:04 -07:00
Brian Gladman
ea8f239361
Allow user to set the YASM path with or without an ending backslash in Visual Studio integration
2019-10-12 15:02:44 +01:00
Brian Gladman
bcc01c59d8
add build files for Microsoft Visual Studio 2019
2019-05-16 13:57:23 +01:00
Brian Gladman
80bc804ecb
Merge branch 'master' of https://github.com/yasm/yasm
2018-12-04 22:34:21 +00:00
Brian Gladman
a1aa3adc2c
correct bug in VSYASM build integration files (vsyasm.targets)
2018-12-04 22:33:14 +00:00
Brian Gladman
70f79a3a66
correct bug in VSYASM build integration files (vsyasm.targets)
2018-12-04 21:18:38 +00:00
Brian Gladman
35af9720e3
change vsyasm.props to use the YASM_PATH environment variable if present
2018-09-28 00:38:32 +01:00
Brian Gladman
627e1c29a4
Update the files for integrating YASM into Visual Studio 2017
2018-09-27 18:34:45 +01:00
mostynb
e256985c49
avoid 'return value of ftruncate ignored' warnings ( #76 )
2017-09-23 15:14:23 -07:00
Matt Oliver
6eac25ff8c
allow movbe to be suffixed with wlq in gas syntax.
2017-09-23 15:11:49 -07:00
Matt Oliver
7418458622
fix memory errors when using gas processor with coff object output.
2017-09-23 15:11:49 -07:00
Simon Brenner
85dad85f7c
Only print 'warnings treated as errors' if there were warnings ( #75 )
...
This prints it as an additional error for the line that generated the
first warning.
2017-09-23 15:09:47 -07:00
bird2tori
4808260d62
Leak fixes ( #79 )
...
* preproc/nasm: Close the input file; addressed a few memory leaks.
* yasm.c: delete include paths before we exit
* cv-dbgfmt.c: Free cv_filename::filename too.
2017-09-23 15:08:58 -07:00
Paul Blinzer
91d628ac60
New AMD Excavator MONITORX, MWAITX instruction support (for 32bit/64bit) ( #78 )
...
MONITORX has opcode "0F 01 FA".
rAX contains address to be monitored
ECX specifies optional extensions
EDX specifies optional hints
MWAITX has opcode "0F 01 FA".
EAX specifies optional hints
ECX specifies optional extensions
Public documentation: http://support.amd.com/TechDocs/24594.pdf
New CLZERO instruction support (for 32bit/64bit)
* clzero has opcode "0F 01 FC".
* clzero gets enabled with CPUID, 8000_0008, EBX[0] =1.
* clzero instruction zero's out the 64 byte cache line specified in rAX. Bits 5:0 of rAX are ignored
Copyright (c) 2016 Advanced Micro Devices, Inc. All rights reserved.
Redistributed under simplified 2-clause BSD licence
2017-09-23 15:08:03 -07:00
Brian Gladman
6caf151893
add Visual Studio 2017 build files
2017-03-07 20:38:37 +00:00
Brian Gladman
6143552f92
add missing VC++ header
2017-03-07 20:31:18 +00:00
Peter Johnson
51af4082cc
Added -Wno-segreg-in-64bit.
...
This allows suppressing the annoying 'segment register ignored in 64-bit mode'
warning.
2015-11-06 20:15:04 -08:00
Brian Gladman
0efd093199
Merge branch 'master' of github.com:yasm/yasm
2015-11-06 11:33:59 +00:00
Brian Gladman
86b96b21fa
update MSVC14 build
2015-11-06 11:33:14 +00:00
Peter Johnson
19a29bfca1
Merge pull request #74 from darealshinji/patch-1
...
fixing an argument parsing bug in ytasm
2015-11-06 02:43:29 -08:00
Peter Johnson
3733061744
Merge pull request #70 from sgraham/shadowing-warning-vs2015
...
Avoid shadowing warning when building with VS2015
2015-11-06 02:38:39 -08:00
Peter Johnson
257df7ec47
Merge pull request #72 from Gramner/master
...
Support numbers prefixed with + or - in %ifnum
2015-11-06 02:36:56 -08:00
darealshinji
8fd3d4d95e
fixing an argument parsing bug in ytasm
...
Taken from a Debian patch.
More information can be found at
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=716639
http://anonscm.debian.org/viewvc/sam-hocevar/pkg-misc/unstable/yasm/debian/patches/100_ytasm_parsing_error.diff?view=log
2015-11-05 18:57:21 +01:00
Henrik Gramner
32ad9c46ce
Support numbers prefixed with + or - in %ifnum
2015-10-17 21:50:15 +02:00
Brian Gladman
7160679eee
add Visual Studio build files missed in thye initial commit
2015-07-27 20:48:42 +01:00
Brian Gladman
afef34e3ce
Add build files for Visual Studio 2015
2015-05-16 15:17:55 +01:00