aboutsummaryrefslogtreecommitdiff
path: root/test/test.h
diff options
context:
space:
mode:
authorenricotenuti <tenutz_27@outlook.it>2024-08-07 20:09:12 +0200
committerenricotenuti <tenutz_27@outlook.it>2024-08-07 20:09:12 +0200
commitd613e7258bca459a59cdb7b4fb8a7cb041137377 (patch)
tree28b3341cf75e2348a26ab9ee44f386c9cda22cfd /test/test.h
parentf148aa65dfe587e7b5d2f48b5005be670788dbe6 (diff)
downloadnissy-core-d613e7258bca459a59cdb7b4fb8a7cb041137377.tar.gz
nissy-core-d613e7258bca459a59cdb7b4fb8a7cb041137377.zip
cube_neon ver1
Diffstat (limited to '')
-rw-r--r--test/test.h9
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>
12typedef __m256i cube_t; 12typedef __m256i cube_t;
13#elif defined(CUBE_NEON)
14#include <stdlib.h>
15#include <arm_neon.h>
16typedef struct {
17 uint8x16_t corner;
18 uint8x16_t edge;
19} cube_t;
13#else 20#else
14typedef struct { 21typedef struct {
15 uint8_t corner[8]; 22 uint8_t corner[8];

Generated with cgit - Back to sebastiano.tronto.net