File tree 1 file changed +3
-2
lines changed
crates/core_arch/src/wasm32
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 3
3
//! [WebAssembly `SIMD128` ISA]:
4
4
//! https://github.com/WebAssembly/simd/blob/master/proposals/simd/SIMD.md
5
5
6
+ #![ unstable( feature = "wasm_simd" , issue = "74372" ) ]
6
7
#![ allow( non_camel_case_types) ]
7
8
#![ allow( unused_imports) ]
8
9
@@ -362,7 +363,7 @@ pub const unsafe fn v128_const(
362
363
///
363
364
/// All indexes `$i*` must have the type `u32`.
364
365
#[ allow_internal_unstable( platform_intrinsics, rustc_attrs) ]
365
- #[ unstable( feature = "stdsimd " , issue = "27731 " ) ]
366
+ #[ unstable( feature = "wasm_simd " , issue = "74372 " ) ]
366
367
pub macro v8x16_shuffle (
367
368
$a: expr, $b: expr,
368
369
$i0: expr,
@@ -2193,7 +2194,7 @@ pub unsafe fn i32x4_trunc_sat_f32x4_s(a: v128) -> v128 {
2193
2194
#[ inline]
2194
2195
#[ cfg_attr( test, assert_instr( "i32x4.trunc_sat_f32x4_u" ) ) ]
2195
2196
#[ target_feature( enable = "simd128" ) ]
2196
- pub unsafe fn i32x4_trunc_sat_f32x4_su ( a : v128 ) -> v128 {
2197
+ pub unsafe fn i32x4_trunc_sat_f32x4_u ( a : v128 ) -> v128 {
2197
2198
transmute ( simd_cast :: < _ , u32x4 > ( a. as_f32x4 ( ) ) )
2198
2199
}
2199
2200
You can’t perform that action at this time.
0 commit comments