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

No support for 32-bit avx2 causes errors on i686 architectures #10

Open
tvsfx opened this issue Oct 11, 2024 · 0 comments · May be fixed by #11
Open

No support for 32-bit avx2 causes errors on i686 architectures #10

tvsfx opened this issue Oct 11, 2024 · 0 comments · May be fixed by #11

Comments

@tvsfx
Copy link

tvsfx commented Oct 11, 2024

Problem

We use the avx2 module on 32 and 64 bit systems here:

#[cfg(any(target_arch = "x86", target_arch = "x86_64"))]

But there is no support for avx2 on 32-bit i686 since the import here is 64-bit specific:

use core::arch::x86_64::*;

This causes compilation to fail for i686 targets, for example cargo build --target=i686-unknown-linux-gnu

Fix

Either support a 32-bit variant or turn off on 32-bit systems

@tvsfx tvsfx linked a pull request Oct 11, 2024 that will close this issue
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 a pull request may close this issue.

1 participant