Remove #[target_feature] from const fn
This commit is contained in:
parent
b6e6168951
commit
94867fad87
1 changed files with 0 additions and 10 deletions
|
|
@ -672,7 +672,6 @@ pub unsafe fn v128_store64_lane<const L: usize>(v: v128, m: *mut u64) {
|
|||
/// If possible this will generate a `v128.const` instruction, otherwise it may
|
||||
/// be lowered to a sequence of instructions to materialize the vector value.
|
||||
#[inline]
|
||||
#[target_feature(enable = "simd128")]
|
||||
#[cfg_attr(
|
||||
test,
|
||||
assert_instr(
|
||||
|
|
@ -727,7 +726,6 @@ pub const fn i8x16(
|
|||
/// If possible this will generate a `v128.const` instruction, otherwise it may
|
||||
/// be lowered to a sequence of instructions to materialize the vector value.
|
||||
#[inline]
|
||||
#[target_feature(enable = "simd128")]
|
||||
#[doc(alias("v128.const"))]
|
||||
#[stable(feature = "wasm_simd", since = "1.54.0")]
|
||||
#[rustc_const_stable(feature = "wasm_simd", since = "1.54.0")]
|
||||
|
|
@ -760,7 +758,6 @@ pub const fn u8x16(
|
|||
/// If possible this will generate a `v128.const` instruction, otherwise it may
|
||||
/// be lowered to a sequence of instructions to materialize the vector value.
|
||||
#[inline]
|
||||
#[target_feature(enable = "simd128")]
|
||||
#[cfg_attr(
|
||||
test,
|
||||
assert_instr(
|
||||
|
|
@ -787,7 +784,6 @@ pub const fn i16x8(a0: i16, a1: i16, a2: i16, a3: i16, a4: i16, a5: i16, a6: i16
|
|||
/// If possible this will generate a `v128.const` instruction, otherwise it may
|
||||
/// be lowered to a sequence of instructions to materialize the vector value.
|
||||
#[inline]
|
||||
#[target_feature(enable = "simd128")]
|
||||
#[doc(alias("v128.const"))]
|
||||
#[stable(feature = "wasm_simd", since = "1.54.0")]
|
||||
#[rustc_const_stable(feature = "wasm_simd", since = "1.54.0")]
|
||||
|
|
@ -800,7 +796,6 @@ pub const fn u16x8(a0: u16, a1: u16, a2: u16, a3: u16, a4: u16, a5: u16, a6: u16
|
|||
/// If possible this will generate a `v128.const` instruction, otherwise it may
|
||||
/// be lowered to a sequence of instructions to materialize the vector value.
|
||||
#[inline]
|
||||
#[target_feature(enable = "simd128")]
|
||||
#[cfg_attr(test, assert_instr(v128.const, a0 = 0, a1 = 1, a2 = 2, a3 = 3))]
|
||||
#[doc(alias("v128.const"))]
|
||||
#[stable(feature = "wasm_simd", since = "1.54.0")]
|
||||
|
|
@ -814,7 +809,6 @@ pub const fn i32x4(a0: i32, a1: i32, a2: i32, a3: i32) -> v128 {
|
|||
/// If possible this will generate a `v128.const` instruction, otherwise it may
|
||||
/// be lowered to a sequence of instructions to materialize the vector value.
|
||||
#[inline]
|
||||
#[target_feature(enable = "simd128")]
|
||||
#[doc(alias("v128.const"))]
|
||||
#[stable(feature = "wasm_simd", since = "1.54.0")]
|
||||
#[rustc_const_stable(feature = "wasm_simd", since = "1.54.0")]
|
||||
|
|
@ -827,7 +821,6 @@ pub const fn u32x4(a0: u32, a1: u32, a2: u32, a3: u32) -> v128 {
|
|||
/// If possible this will generate a `v128.const` instruction, otherwise it may
|
||||
/// be lowered to a sequence of instructions to materialize the vector value.
|
||||
#[inline]
|
||||
#[target_feature(enable = "simd128")]
|
||||
#[cfg_attr(test, assert_instr(v128.const, a0 = 1, a1 = 2))]
|
||||
#[doc(alias("v128.const"))]
|
||||
#[stable(feature = "wasm_simd", since = "1.54.0")]
|
||||
|
|
@ -841,7 +834,6 @@ pub const fn i64x2(a0: i64, a1: i64) -> v128 {
|
|||
/// If possible this will generate a `v128.const` instruction, otherwise it may
|
||||
/// be lowered to a sequence of instructions to materialize the vector value.
|
||||
#[inline]
|
||||
#[target_feature(enable = "simd128")]
|
||||
#[doc(alias("v128.const"))]
|
||||
#[stable(feature = "wasm_simd", since = "1.54.0")]
|
||||
#[rustc_const_stable(feature = "wasm_simd", since = "1.54.0")]
|
||||
|
|
@ -854,7 +846,6 @@ pub const fn u64x2(a0: u64, a1: u64) -> v128 {
|
|||
/// If possible this will generate a `v128.const` instruction, otherwise it may
|
||||
/// be lowered to a sequence of instructions to materialize the vector value.
|
||||
#[inline]
|
||||
#[target_feature(enable = "simd128")]
|
||||
#[cfg_attr(test, assert_instr(v128.const, a0 = 0.0, a1 = 1.0, a2 = 2.0, a3 = 3.0))]
|
||||
#[doc(alias("v128.const"))]
|
||||
#[stable(feature = "wasm_simd", since = "1.54.0")]
|
||||
|
|
@ -868,7 +859,6 @@ pub const fn f32x4(a0: f32, a1: f32, a2: f32, a3: f32) -> v128 {
|
|||
/// If possible this will generate a `v128.const` instruction, otherwise it may
|
||||
/// be lowered to a sequence of instructions to materialize the vector value.
|
||||
#[inline]
|
||||
#[target_feature(enable = "simd128")]
|
||||
#[cfg_attr(test, assert_instr(v128.const, a0 = 0.0, a1 = 1.0))]
|
||||
#[doc(alias("v128.const"))]
|
||||
#[stable(feature = "wasm_simd", since = "1.54.0")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue