curve25519-dalek icon indicating copy to clipboard operation
curve25519-dalek copied to clipboard

Allow disabled SIMD support on x86_64 baremetal targets

Open DarkKirb opened this issue 1 year ago • 1 comments

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.

DarkKirb avatar Aug 12 '24 19:08 DarkKirb

That's surprising, because cpufeatures should already take care of this: https://github.com/RustCrypto/utils/pull/821

tarcieri avatar Aug 12 '24 19:08 tarcieri