Skip to content
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

Avoid x86 SIMD detection in other platforms #66

Merged
merged 2 commits into from
Mar 26, 2021

Conversation

luizirber
Copy link
Contributor

Fixes #65

I'm using the BM_x86 flag defined in bmdef.h to limit __cpuid calls to x86, I think that is the proper solution?

With these changes I'm able to compile and test the Rust bindings in aarch64/ppc64le/s390x platforms (tests are currently failing on s390x, but I don't have access to a machine to debug it 😅)

@luizirber luizirber changed the title Avoid x86 simd detection in other platforms Avoid x86 SIMD detection in other platforms Mar 25, 2021
@tlk00 tlk00 merged commit 3a60ef1 into tlk00:master Mar 26, 2021
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.

asm compilation error on aarch64/s390x/ppc64le
2 participants