From d613e7258bca459a59cdb7b4fb8a7cb041137377 Mon Sep 17 00:00:00 2001 From: enricotenuti Date: Wed, 7 Aug 2024 20:09:12 +0200 Subject: cube_neon ver1 --- test/test.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'test/test.h') 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 @@ #define STRLENMAX 10000 -#ifdef CUBE_AVX2 +#if defined(CUBE_AVX2) #include typedef __m256i cube_t; +#elif defined(CUBE_NEON) +#include +#include +typedef struct { + uint8x16_t corner; + uint8x16_t edge; +} cube_t; #else typedef struct { uint8_t corner[8]; -- cgit v1.3