Add CONFIG_NEON/32 defines

This commit is contained in:
Andrea Mazzoleni 2026-10-02 10:43:11 +02:00
parent a7a85a259c
commit dcb3c7db37

View file

@ -84,11 +84,22 @@
#define CONFIG_X86_64 1
#endif
#if defined(__aarch64__) && defined(__ARM_FEATURE_CRC32)
#if defined(__aarch64__)
#if defined(__ARM_NEON) || defined(__ARM_NEON__)
#define CONFIG_NEON 1
#endif
#if defined(__ARM_FEATURE_CRC32)
#define CONFIG_ARM_CRC 1
#endif
#endif
#if defined(__arm__)
#if defined(__ARM_NEON) || defined(__ARM_NEON__)
#define CONFIG_NEON32 1
#endif
#endif
#endif
/**
* Includes some platform specific headers.
*/