diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2023-11-03 23:13:05 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2023-11-03 23:26:29 +0100 |
| commit | ade2ed050a2d472b4dd01e30666f5e7ec5030724 (patch) | |
| tree | bab29caba8fb2171348fb664d6098eb77d155a53 /src/_trans_avx2.c | |
| parent | 9b1c9371333e20611ec5422e660ebec7e66c4261 (diff) | |
| download | nissy-core-ade2ed050a2d472b4dd01e30666f5e7ec5030724.tar.gz nissy-core-ade2ed050a2d472b4dd01e30666f5e7ec5030724.zip | |
Moves work with avx2, fixed some stuff
Diffstat (limited to 'src/_trans_avx2.c')
| -rw-r--r-- | src/_trans_avx2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/_trans_avx2.c b/src/_trans_avx2.c index 29ee942..e80bf79 100644 --- a/src/_trans_avx2.c +++ b/src/_trans_avx2.c | |||
| @@ -7,7 +7,7 @@ flipallcorners(cube_t c) | |||
| 7 | shright = _mm256_srli_si256(c, 1); | 7 | shright = _mm256_srli_si256(c, 1); |
| 8 | summed = _mm256_or_si256(shleft, shright); | 8 | summed = _mm256_or_si256(shleft, shright); |
| 9 | newco = _mm256_and_si256(summed, _co_avx2); | 9 | newco = _mm256_and_si256(summed, _co_avx2); |
| 10 | cleanco = _mm256_andnot_si256_(c, _co_avx2); | 10 | cleanco = _mm256_andnot_si256(c, _co_avx2); |
| 11 | ret = _mm256_and_si256(cleanco, newco); | 11 | ret = _mm256_and_si256(cleanco, newco); |
| 12 | 12 | ||
| 13 | return ret; | 13 | return ret; |
