summary refs log tree commit diff
path: root/tests/ui/target-feature/implicit-features.rs
blob: b9c48b0822d53649ec065071292d2aaed1e39774 (plain)
1
2
3
4
5
6
7
8
9
10
//@ 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)
}