Commit Graph

6 Commits

Author SHA1 Message Date
David Korth
8976caa3f0 Handle ARM64EC as ARM64.
ARM64EC is a new ARM64 variant introduced in Windows 11 that uses an
ABI similar to AMD64, which allows for better interoperability with
emulated AMD64 applications. When enabled in MSVC, it defines _M_AMD64
and _M_ARM64EC, but not _M_ARM64, so we need to check for _M_ARM64EC.
2023-07-16 12:42:38 +02:00
lawadr
c4c1c7f6e0 Remove architecture dependent endian header locations
The header locations are OS specific and not architecture specific. The
previous behaviour was to always include machine/endian.h for ARM and
AArch64 architectures on non-Windows and non-Linux OSs, causing build
failures if the OS uses other locations defined further down the
conditional block.
2023-04-01 17:27:59 +02:00
Pavel P
6dfff29c01 Clean up windows defines, use _WIN32
+ replaced WIN32 with _WIN32
 + removed unused WINDOWS/_WINDOWS defines
 + no need to test for __MINGW__, as _WIN32 is also defined
2020-06-08 15:09:17 +02:00
Nathan Moinvaziri
e0a711cdde Fixed formatting, 4 spaces for code intent, 2 spaces for preprocessor indent, initial function brace on the same line as definition, removed extraneous spaces and new lines. 2020-02-07 10:44:20 +01:00
Nathan Moinvaziri
ce0076688a Changes to support compilation with MSVC ARM & ARM64 (#386)
* Merge aarch64 and arm cmake sections.
* Updated MSVC compiler support for ARM and ARM64.
* Moved detection for -mfpu=neon to where the flag is set to simplify add_intrinsics_option.
* Only add ${ACLEFLAG} on aarch64 if not WITH_NEON.
* Rename arch/x86/ctzl.h to fallback_builtins.h.
2019-09-04 08:35:23 +02:00
Nathan Moinvaziri
c5e2ea1829 Rename gzendian to zendian since it is included in more than just the gzip library code. 2019-08-06 10:09:08 +02:00