diff options
author | Paul Duncan <pabs@pablotron.org> | 2024-05-08 07:17:47 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2024-05-08 07:17:47 -0400 |
commit | 50f27c95e41d16610be84b97a850ed0e838a9b8b (patch) | |
tree | 914ed1d28ad4d745a9b7bd4b275440269d5b9782 /sha3.c | |
parent | cb7b27827b0b179a6c65eb7345e37995f44f52ec (diff) | |
download | sha3-50f27c95e41d16610be84b97a850ed0e838a9b8b.tar.bz2 sha3-50f27c95e41d16610be84b97a850ed0e838a9b8b.zip |
sha3.c: prefer scalar backend to neon for nowv0.7
Diffstat (limited to 'sha3.c')
-rw-r--r-- | sha3.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -29,7 +29,7 @@ #define BACKEND_AUTO 0 // auto-detect (default) #define BACKEND_SCALAR 1 // scalar backend #define BACKEND_AVX512 2 // AVX-512 backend -#define BACKEND_NEON 3 // Neon backend +#define BACKEND_NEON 3 // Neon backend (experimental) #define BACKEND_DIET_NEON 4 // Neon backend which uses fewer registers // if SHA3_BACKEND is defined and set to 0 (the default), then unset it @@ -42,7 +42,7 @@ #ifndef SHA3_BACKEND #if defined(__AVX512F__) #define SHA3_BACKEND BACKEND_AVX512 -#elif defined(__ARM_NEON) +#elif 0 && defined(__ARM_NEON) #define SHA3_BACKEND BACKEND_NEON #else // no optimized backend detected, fall back to scalar |