diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-08-10 17:39:32 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-08-10 17:39:32 +0200 |
| commit | 4a016679d1f5f33ab0679dfc315222797075dc65 (patch) | |
| tree | 3cde6b560163d3e404d202d9b396476417c5af93 /test/test.h | |
| parent | dc64668ceba09cd048fb92af77857b594c584c27 (diff) | |
| parent | c0d829e588c5d25ee0fc0ff3212658c92c0fb0a8 (diff) | |
| download | nissy-core-4a016679d1f5f33ab0679dfc315222797075dc65.tar.gz nissy-core-4a016679d1f5f33ab0679dfc315222797075dc65.zip | |
Merge branch 'master' of github.com:sebastianotronto/h48
Diffstat (limited to 'test/test.h')
| -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]; |
