Stabilize Wasm relaxed SIMD
This commit is contained in:
parent
b389b0ab72
commit
90521399b4
@ -333,7 +333,7 @@ pub fn is_stable(self) -> bool {
|
|||||||
("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…
Reference in New Issue
Block a user