rust-lang / stdarch

Rust's standard library vendor-specific APIs and run-time feature detection
https://doc.rust-lang.org/stable/core/arch/
Apache License 2.0
599 stars 264 forks source link

wasm32: Add `simd128` to enabled features for relaxed intrinsics #1610

Closed alexcrichton closed 1 month ago

alexcrichton commented 1 month ago

It looks like LLVM requires that simd128 is active to use these intrinsics and relaxed-simd isn't implicitly enabling them. This is probably something to fix at the LLVM layer as well but for now enable both the simd128 feature as well as the relaxed-simd feature to fix things on our side.

This is done to help fix the test failure in #117468

rustbot commented 1 month ago

r? @Amanieu

rustbot has assigned @Amanieu. They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

alexcrichton commented 1 month ago

I filed https://github.com/llvm/llvm-project/issues/98502 for a possible upstream LLVM issue