diff options
author | Paul Duncan <pabs@pablotron.org> | 2024-05-27 01:10:08 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2024-05-27 01:10:08 -0400 |
commit | 47c89748dd940bf3500fa70994e9653cbdeb5d14 (patch) | |
tree | 62659af24b0e1aed61718fa089a3a2a291e12708 | |
parent | 77d301f602167df1df05a86d7da1c961ff2f4f1a (diff) | |
download | sha3-47c89748dd940bf3500fa70994e9653cbdeb5d14.tar.bz2 sha3-47c89748dd940bf3500fa70994e9653cbdeb5d14.zip |
sha3.c: permute_n_avx2(): CHI(): remove tabs
-rw-r--r-- | sha3.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -591,12 +591,12 @@ static const __m256i LM0 = { ~0, 0, 0, 0 }, // only lane 0 // chi step #define CHI(LO, HI) do { \ - const __m256i a_lo = _mm256_blend_epi32(_mm256_permute4x64_epi64(LO, CHI_I0_LO), _mm256_permute4x64_epi64(HI, CHI_I0_LO), CHI_MASK), \ - a_hi = LO, \ - b_lo = (_mm256_permute4x64_epi64(LO, CHI_I1_LO) & ~LM2) | (_mm256_permute4x64_epi64(HI, CHI_I1_LO) & ~LM0), \ - b_hi = _mm256_shuffle_epi32(LO, 0x0e); \ + const __m256i a_lo = _mm256_blend_epi32(_mm256_permute4x64_epi64(LO, CHI_I0_LO), _mm256_permute4x64_epi64(HI, CHI_I0_LO), CHI_MASK), \ + a_hi = LO, \ + b_lo = (_mm256_permute4x64_epi64(LO, CHI_I1_LO) & ~LM2) | (_mm256_permute4x64_epi64(HI, CHI_I1_LO) & ~LM0), \ + b_hi = _mm256_shuffle_epi32(LO, 0x0e); \ \ - LO ^= _mm256_andnot_si256(a_lo, b_lo); HI ^= _mm256_andnot_si256(a_hi, b_hi); \ + LO ^= _mm256_andnot_si256(a_lo, b_lo); HI ^= _mm256_andnot_si256(a_hi, b_hi); \ } while (0) /** |