Add HAVE_NEON
This commit is contained in:
parent
d5dfcf7613
commit
19cd67c1fa
12
libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_NEON.h
Normal file
12
libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_NEON.h
Normal file
@ -0,0 +1,12 @@
|
||||
// HAVE_NEON
|
||||
|
||||
#undef HAVE_NEON
|
||||
|
||||
/* GCC, Clang: -mfpu={neon,neon-vfpv3,neon-vfpv4,neon-fp16,..}
|
||||
*
|
||||
* MSVC: Always enabled (and presumably defines at least one of
|
||||
* __ARM_NEON[__]).
|
||||
*/
|
||||
#if defined(__ARM_NEON) || defined(__ARM_NEON__)
|
||||
# define HAVE_NEON 1
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user