@@ -1419,7 +1419,7 @@ pub unsafe fn v128_bitselect(v1: v128, v2: v128, c: v128) -> v128 {
14191419
14201420/// Lane-wise wrapping absolute value.
14211421#[ inline]
1422- // #[cfg_attr(test, assert_instr(i8x16.abs))] // FIXME support not in our LLVM yet
1422+ #[ cfg_attr( test, assert_instr( i8x16. abs) ) ]
14231423#[ target_feature( enable = "simd128" ) ]
14241424pub unsafe fn i8x16_abs ( a : v128 ) -> v128 {
14251425 let a = transmute :: < _ , i8x16 > ( a) ;
@@ -1629,7 +1629,7 @@ pub unsafe fn i8x16_avgr_u(a: v128, b: v128) -> v128 {
16291629
16301630/// Lane-wise wrapping absolute value.
16311631#[ inline]
1632- // #[cfg_attr(test, assert_instr(i16x8.abs))] // FIXME support not in our LLVM yet
1632+ #[ cfg_attr( test, assert_instr( i16x8. abs) ) ]
16331633#[ target_feature( enable = "simd128" ) ]
16341634pub unsafe fn i16x8_abs ( a : v128 ) -> v128 {
16351635 let a = transmute :: < _ , i16x8 > ( a) ;
@@ -1880,7 +1880,7 @@ pub unsafe fn i16x8_avgr_u(a: v128, b: v128) -> v128 {
18801880
18811881/// Lane-wise wrapping absolute value.
18821882#[ inline]
1883- // #[cfg_attr(test, assert_instr(i32x4.abs))] // FIXME support not in our LLVM yet
1883+ #[ cfg_attr( test, assert_instr( i32x4. abs) ) ]
18841884#[ target_feature( enable = "simd128" ) ]
18851885pub unsafe fn i32x4_abs ( a : v128 ) -> v128 {
18861886 let a = transmute :: < _ , i32x4 > ( a) ;
@@ -2122,7 +2122,7 @@ pub unsafe fn i64x2_sub(a: v128, b: v128) -> v128 {
21222122
21232123/// Multiplies two 128-bit vectors as if they were two packed two 64-bit integers.
21242124#[ inline]
2125- // #[cfg_attr(test, assert_instr(i64x2.mul))] // FIXME: not present in our LLVM
2125+ #[ cfg_attr( test, assert_instr( i64x2. mul) ) ]
21262126#[ target_feature( enable = "simd128" ) ]
21272127pub unsafe fn i64x2_mul ( a : v128 , b : v128 ) -> v128 {
21282128 transmute ( simd_mul ( a. as_i64x2 ( ) , b. as_i64x2 ( ) ) )
0 commit comments