aboutsummaryrefslogtreecommitdiff
path: root/src/arch/arch.h
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2024-09-07 10:55:30 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2024-09-07 10:55:30 +0200
commit0eba10bf55283acdb687a172404a89e5a72a00c2 (patch)
tree877d4939c1ceb8850e41583a1f898760d4a0067b /src/arch/arch.h
parent1fcba7fcea462d67379c8d289bd7e0ad52170e02 (diff)
downloadnissy-core-0eba10bf55283acdb687a172404a89e5a72a00c2.tar.gz
nissy-core-0eba10bf55283acdb687a172404a89e5a72a00c2.zip
Improved gendata_h48k2 performance
Performance for the "real coordinate" case (h0) is ok, but still around 3x slower than the gendata_h48k4 method. Performance for the intermediate tables is not good, but for now I'll keep it like this. This also shows that for h11 we should use the gendata_h48k4 method for h11. For intermediate table, h8, h9 and h10 might be too slow to compute in an acceptable time. We could restrict to h7 (largest with base = 9).
Diffstat (limited to '')
-rw-r--r--src/arch/arch.h4
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>

Generated with cgit - Back to sebastiano.tronto.net