Check for __aarch64__ instead of __ARM_NEON for 128-bit arithmetic

This commit is contained in:
Frank Denis 2018-01-07 15:40:27 +01:00
parent 9ebe443bc7
commit 794ec886e7

View File

@ -654,7 +654,7 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#if !defined(__clang__) && !defined(__GNUC__) && !defined(__SIZEOF_INT128__) #if !defined(__clang__) && !defined(__GNUC__) && !defined(__SIZEOF_INT128__)
# error mode(TI) is a gcc extension, and __int128 is not available # error mode(TI) is a gcc extension, and __int128 is not available
#endif #endif
#if defined(__clang__) && !defined(__x86_64__) && !defined(__ARM_NEON) #if defined(__clang__) && !defined(__x86_64__) && !defined(__aarch64__)
# error clang does not properly handle the 128-bit type on 32-bit systems # error clang does not properly handle the 128-bit type on 32-bit systems
#endif #endif
#ifndef NATIVE_LITTLE_ENDIAN #ifndef NATIVE_LITTLE_ENDIAN