Skip to content

Commit

Permalink
configure.ac: cast utest to __m128i_u* in avx2 check for _mm_loadu_si128
Browse files Browse the repository at this point in the history
Fixes avx2 check.
Fixes: #361.
  • Loading branch information
sezero committed Jul 30, 2024
1 parent 5854a9f commit 9ec11c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,7 @@ AS_IF([test x"$enable_intrinsics" = x"yes"],[
mtest = _mm256_fmadd_ps(mtest, mtest, mtest);
mtest1 = _mm256_set_m128i(_mm_loadu_si64(utest), _mm_loadu_si64(utest));
mtest2 =
_mm256_cvtepi16_epi32(_mm_loadu_si128(utest));
_mm256_cvtepi16_epi32(_mm_loadu_si128((__m128i_u *)utest));
return _mm256_extract_epi16(_mm256_xor_si256(
_mm256_xor_si256(mtest1, mtest2), _mm256_cvttps_epi32(mtest)), 0);
]]
Expand Down

0 comments on commit 9ec11c1

Please sign in to comment.