Add HAVE_NEON

This commit is contained in:
Francois Kritzinger 2023-03-23 15:18:52 +02:00
parent d5dfcf7613
commit 19cd67c1fa

View 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