Skip to content

Conversation

sezero
Copy link
Contributor

@sezero sezero commented Jul 30, 2024

Fixes avx2 check.
Fixes: #361.

@sezero
Copy link
Contributor Author

sezero commented Jul 30, 2024

CI failures seem irrelevant -- I can't re-try them myself here, but in my branch they succeeded upon re-run.

@@ -697,9 +697,10 @@ AS_IF([test x"$enable_intrinsics" = x"yes"],[
__m256i mtest2;
mtest = _mm256_set1_ps((float)time(NULL));
mtest = _mm256_fmadd_ps(mtest, mtest, mtest);
mtest1 = _mm256_set_m128i(_mm_loadu_si64(utest), _mm_loadu_si64(utest));
mtest1 = _mm256_set_m128i(
_mm_loadl_epi64((__m128i_u *)utest), _mm_loadl_epi64((__m128i_u *)utest));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As far as I can tell, __m128i_u is just an internal gcc/clang thing and not something we can rely on unfortunately.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

compiler AVX2 intrinsics check is failing in autotools.
2 participants