rust/tests/ui/target-feature/wasm-relaxed-simd.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
222 B
Rust
Raw Normal View History

2024-02-21 22:12:19 +00:00
//@ only-wasm32-wasip1
//@ compile-flags: -Ctarget-feature=+relaxed-simd --crate-type=lib
2024-02-21 22:12:19 +00:00
//@ build-pass
use std::arch::wasm32::*;
pub fn test(a: v128, b: v128, m: v128) -> v128 {
i64x2_relaxed_laneselect(a, b, m)
}