diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-05-17 19:45:11 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-05-17 19:45:11 +0200 |
| commit | 869d852bd7bf0531af4605773615c0bf0c911d48 (patch) | |
| tree | 1d78c2fd217f86a81b1e7f6143922ca2e9c9ab01 /src/cube_avx2.h | |
| parent | 1809d7b212128fcdcb481002a17db5dc97a15e03 (diff) | |
| download | nissy-core-869d852bd7bf0531af4605773615c0bf0c911d48.tar.gz nissy-core-869d852bd7bf0531af4605773615c0bf0c911d48.zip | |
Prepare for next step
Diffstat (limited to 'src/cube_avx2.h')
| -rw-r--r-- | src/cube_avx2.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/cube_avx2.h b/src/cube_avx2.h index 8d1c940..30b0c0f 100644 --- a/src/cube_avx2.h +++ b/src/cube_avx2.h | |||
| @@ -28,6 +28,7 @@ _static_inline int64_t coord_fast_esep(cube_fast_t); | |||
| 28 | _static_inline void copy_corners_fast(cube_fast_t *, cube_fast_t); | 28 | _static_inline void copy_corners_fast(cube_fast_t *, cube_fast_t); |
| 29 | _static_inline void copy_edges_fast(cube_fast_t *, cube_fast_t); | 29 | _static_inline void copy_edges_fast(cube_fast_t *, cube_fast_t); |
| 30 | _static_inline void set_eo_fast(cube_fast_t *, int64_t); | 30 | _static_inline void set_eo_fast(cube_fast_t *, int64_t); |
| 31 | _static_inline cube_fast_t invcoord_fast_esep(int64_t); | ||
| 31 | 32 | ||
| 32 | _static_inline cube_fast_t | 33 | _static_inline cube_fast_t |
| 33 | fastcube( | 34 | fastcube( |
| @@ -268,3 +269,10 @@ set_eo_fast(cube_fast_t *cube, int64_t eo) | |||
| 268 | *cube = _mm256_andnot_si256(_eo_avx2, *cube); | 269 | *cube = _mm256_andnot_si256(_eo_avx2, *cube); |
| 269 | *cube = _mm256_or_si256(*cube, veo); | 270 | *cube = _mm256_or_si256(*cube, veo); |
| 270 | } | 271 | } |
| 272 | |||
| 273 | _static_inline cube_fast_t | ||
| 274 | invcoord_fast_esep(int64_t esep) | ||
| 275 | { | ||
| 276 | /* TODO */ | ||
| 277 | return cubetofast(zero); | ||
| 278 | } | ||
