diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-09-06 19:42:32 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-09-06 19:42:32 +0200 |
| commit | 24ebb3684b302873ffaa3ff5c4357cd64ed3b8c4 (patch) | |
| tree | 65de69f3760508e8f92d14404452a33e9826a067 | |
| parent | cb088856301d9616f65b2a72e51dffa12aa20578 (diff) | |
| download | nissy-core-24ebb3684b302873ffaa3ff5c4357cd64ed3b8c4.tar.gz nissy-core-24ebb3684b302873ffaa3ff5c4357cd64ed3b8c4.zip | |
Fix architecture detection
| -rw-r--r-- | src/arch/arch.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/arch.h b/src/arch/arch.h index d5e0218..e5de0cf 100644 --- a/src/arch/arch.h +++ b/src/arch/arch.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | #if defined(CUBE_AVX2) | 1 | #if defined(AVX2) |
| 2 | 2 | ||
| 3 | #include <immintrin.h> | 3 | #include <immintrin.h> |
| 4 | 4 | ||
| @@ -9,7 +9,7 @@ typedef __m256i cube_t; | |||
| 9 | #include "avx2.h" | 9 | #include "avx2.h" |
| 10 | #endif | 10 | #endif |
| 11 | 11 | ||
| 12 | #elif defined(CUBE_NEON) | 12 | #elif defined(NEON) |
| 13 | 13 | ||
| 14 | #include <stdlib.h> | 14 | #include <stdlib.h> |
| 15 | #include <arm_neon.h> | 15 | #include <arm_neon.h> |
