File tree Expand file tree Collapse file tree 1 file changed +9
-11
lines changed
Expand file tree Collapse file tree 1 file changed +9
-11
lines changed Original file line number Diff line number Diff line change 88 #define HAVE_AVX 1
99 #define HAVE_AVX2 1
1010 #define HAVE_AVX512 0
11+ #elif (defined(__APPLE__ ) && defined(__aarch64__ ))
12+ #define HAVE_NEON64 1
13+ #elif (defined(__wasm__ ) && defined(__wasm_simd128__ ))
14+ #include "emscripten/version.h"
15+ #if __EMSCRIPTEN_major__ == 3
16+ #define HAVE_NEON32 1
17+ #elif __EMSCRIPTEN_major__ > 3
18+ #define HAVE_NEON64 1
19+ #endif
1120#endif
1221
13- #define BASE64_WITH_NEON32 0
14- #define HAVE_NEON32 BASE64_WITH_NEON32
15-
16- #if (defined(__APPLE__ ) && defined(__aarch64__ )) || (defined(__wasm__ ) && defined(__wasm_simd128__ ))
17- #define BASE64_WITH_NEON64 1
18- #else
19- #define BASE64_WITH_NEON64 0
20- #endif
21-
22- #define HAVE_NEON64 BASE64_WITH_NEON64
23-
2422#endif // BASE64_CONFIG_H
You can’t perform that action at this time.
0 commit comments