mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-30 03:47:05 -05:00
Add CONFIG_NEON/32 defines
This commit is contained in:
parent
a7a85a259c
commit
dcb3c7db37
1 changed files with 12 additions and 1 deletions
|
|
@ -84,11 +84,22 @@
|
||||||
#define CONFIG_X86_64 1
|
#define CONFIG_X86_64 1
|
||||||
#endif
|
#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
|
#define CONFIG_ARM_CRC 1
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__arm__)
|
||||||
|
#if defined(__ARM_NEON) || defined(__ARM_NEON__)
|
||||||
|
#define CONFIG_NEON32 1
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Includes some platform specific headers.
|
* Includes some platform specific headers.
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue