-
-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revert building shuffle.c
with SSE2/AVX2 compilation flags
#373
Conversation
@mkitti, does this solves your issue? |
#if defined(SHUFFLE_USE_AVX2) || defined(SHUFFLE_USE_SSE2) /* Intel/i686 */ | ||
implementations supported by the host processor for Intel/i686 | ||
*/ | ||
#if (defined(__x86_64__) || defined(_M_X64) || defined(__i386__) || defined(_M_IX86)) \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From looking a bit around, that should detect x86 arch with main compilers.
I'd take any better way
I'm tracking this pull request, and I will report back. I am a bit busy at the moment, but I may have some time over the weekend while traveling. |
I am away from the computer where I had this issue. I can check this evening. Can you check in with me in 24 hours? |
main branch: 76% tests passed, 400 tests failed out of 1643
Please merge. Thank you. |
Could we generate a new release with these changes? |
Thanks for the reminder @mkitti . Done! |
This PR aims at fixing #371. It:
shuffle.c
which is responsible for issue Illegal Instruction vinserti128 in set_host_implementation #371.__SSE2__
(resp.__AVX2__
) is not available, so that the symbols are always defined (useful for multiple architecture compilation like for macos universal build (x86 + arm).SHUFFLE_AVX2_ENABLED
orSHUFFLE_SSE2_ENABLED
defined) for using ablosc_get_cpu_features
implementation that detects hardware.