diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-09-07 10:55:30 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-09-07 10:55:30 +0200 |
| commit | 0eba10bf55283acdb687a172404a89e5a72a00c2 (patch) | |
| tree | 877d4939c1ceb8850e41583a1f898760d4a0067b /src/arch/arch.h | |
| parent | 1fcba7fcea462d67379c8d289bd7e0ad52170e02 (diff) | |
| download | nissy-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 'src/arch/arch.h')
| -rw-r--r-- | src/arch/arch.h | 4 |
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> |
