mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
11 lines
234 B
Rust
11 lines
234 B
Rust
//@ only-wasm32-wasip1
|
|
//@ compile-flags: --crate-type=lib
|
|
//@ build-pass
|
|
|
|
use std::arch::wasm32::*;
|
|
|
|
#[target_feature(enable = "relaxed-simd")]
|
|
pub fn test(a: v128, b: v128, m: v128) -> v128 {
|
|
i64x2_relaxed_laneselect(a, b, m)
|
|
}
|