| 1 |
#ifndef BASE64_CONFIG_H |
| 2 |
#define BASE64_CONFIG_H |
| 3 |
|
| 4 |
#if !defined(__APPLE__) && ((defined(__x86_64__) && defined(__LP64__)) || defined(_M_X64)) |
| 5 |
#define HAVE_SSSE3 1 |
| 6 |
#define HAVE_SSE41 1 |
| 7 |
#define HAVE_SSE42 1 |
| 8 |
#define HAVE_AVX 1 |
| 9 |
#define HAVE_AVX2 1 |
| 10 |
#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 |
| 20 |
#endif |
| 21 |
|
| 22 |
#endif // BASE64_CONFIG_H |