diff options
Diffstat (limited to '')
| -rw-r--r-- | test/test.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/test/test.h b/test/test.h index d092244..1f4b2c3 100644 --- a/test/test.h +++ b/test/test.h | |||
| @@ -7,9 +7,16 @@ | |||
| 7 | 7 | ||
| 8 | #define STRLENMAX 10000 | 8 | #define STRLENMAX 10000 |
| 9 | 9 | ||
| 10 | #ifdef CUBE_AVX2 | 10 | #if defined(CUBE_AVX2) |
| 11 | #include <immintrin.h> | 11 | #include <immintrin.h> |
| 12 | typedef __m256i cube_t; | 12 | typedef __m256i cube_t; |
| 13 | #elif defined(CUBE_NEON) | ||
| 14 | #include <stdlib.h> | ||
| 15 | #include <arm_neon.h> | ||
| 16 | typedef struct { | ||
| 17 | uint8x16_t corner; | ||
| 18 | uint8x16_t edge; | ||
| 19 | } cube_t; | ||
| 13 | #else | 20 | #else |
| 14 | typedef struct { | 21 | typedef struct { |
| 15 | uint8_t corner[8]; | 22 | uint8_t corner[8]; |
