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

Allow disabled SIMD support on x86_64 baremetal targets #689

Open
DarkKirb opened this issue Aug 12, 2024 · 1 comment
Open

Allow disabled SIMD support on x86_64 baremetal targets #689

DarkKirb opened this issue Aug 12, 2024 · 1 comment

Comments

@DarkKirb
Copy link

Related to #552

Currently, on x86_64 baremetal targets and UEFI, compiling curve25519-dalek fails with the error message:

rustc-LLVM ERROR: Do not know how to split the result of this operator!

this is because these targets disable FPU support (target features -mmx,-sse,+soft-float).
It would be nice to have some sort of opt-out like sha2’s force-soft feature.

@tarcieri
Copy link
Contributor

That's surprising, because cpufeatures should already take care of this: RustCrypto/utils#821

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

No branches or pull requests

2 participants