Skip to content

Commit

Permalink
lib/x86/adler32: minor tweak for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
ebiggers committed Mar 2, 2024
1 parent 78274c7 commit 190a44c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/x86/adler32_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -299,10 +299,10 @@ adler32_avx2_vnni_chunk(const __m256i *p, const __m256i *const end,
__m256i /* __v8su */ v_s2_d = zeroes;

do {
__m256i bytes_a = *p++;
__m256i bytes_b = *p++;
__m256i bytes_c = *p++;
__m256i bytes_d = *p++;
const __m256i bytes_a = *p++;
const __m256i bytes_b = *p++;
const __m256i bytes_c = *p++;
const __m256i bytes_d = *p++;

v_s2_a = _mm256_dpbusd_avx_epi32(v_s2_a, bytes_a, mults_a);
v_s2_b = _mm256_dpbusd_avx_epi32(v_s2_b, bytes_b, mults_b);
Expand Down

0 comments on commit 190a44c

Please sign in to comment.