1
Fork 0

Implement a implicit target feature mechanism

This commit is contained in:
daxpedda 2024-07-13 00:10:33 +02:00
parent 90521399b4
commit 80b74d397f
No known key found for this signature in database
GPG key ID: 43D62A3EA388E46F
6 changed files with 55 additions and 1 deletions

View file

@ -0,0 +1,9 @@
//@ only-wasm32-wasip1
//@ compile-flags: -Ctarget-feature=+relaxed-simd --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)
}