Stabilize Wasm relaxed SIMD
This commit is contained in:
parent
b389b0ab72
commit
90521399b4
2 changed files with 10 additions and 1 deletions
|
@ -333,7 +333,7 @@ const WASM_ALLOWED_FEATURES: &[(&str, Stability)] = &[
|
||||||
("mutable-globals", Stable),
|
("mutable-globals", Stable),
|
||||||
("nontrapping-fptoint", Stable),
|
("nontrapping-fptoint", Stable),
|
||||||
("reference-types", Unstable(sym::wasm_target_feature)),
|
("reference-types", Unstable(sym::wasm_target_feature)),
|
||||||
("relaxed-simd", Unstable(sym::wasm_target_feature)),
|
("relaxed-simd", Stable),
|
||||||
("sign-ext", Stable),
|
("sign-ext", Stable),
|
||||||
("simd128", Stable),
|
("simd128", Stable),
|
||||||
// tidy-alphabetical-end
|
// tidy-alphabetical-end
|
||||||
|
|
9
tests/ui/target-feature/wasm-relaxed-simd.rs
Normal file
9
tests/ui/target-feature/wasm-relaxed-simd.rs
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
//@ only-wasm32-wasip1
|
||||||
|
//@ compile-flags: -Ctarget-feature=+relaxed-simd,+simd128 --crate-type=lib
|
||||||
|
//@ build-pass
|
||||||
|
|
||||||
|
use std::arch::wasm32::*;
|
||||||
|
|
||||||
|
pub fn test(a: v128, b: v128, m: v128) -> v128 {
|
||||||
|
i64x2_relaxed_laneselect(a, b, m)
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue