@@ -1419,7 +1419,7 @@ pub unsafe fn v128_bitselect(v1: v128, v2: v128, c: v128) -> v128 {
1419
1419
1420
1420
/// Lane-wise wrapping absolute value.
1421
1421
#[ inline]
1422
- // #[cfg_attr(test, assert_instr(i8x16.abs))] // FIXME support not in our LLVM yet
1422
+ #[ cfg_attr( test, assert_instr( i8x16. abs) ) ]
1423
1423
#[ target_feature( enable = "simd128" ) ]
1424
1424
pub unsafe fn i8x16_abs ( a : v128 ) -> v128 {
1425
1425
let a = transmute :: < _ , i8x16 > ( a) ;
@@ -1629,7 +1629,7 @@ pub unsafe fn i8x16_avgr_u(a: v128, b: v128) -> v128 {
1629
1629
1630
1630
/// Lane-wise wrapping absolute value.
1631
1631
#[ inline]
1632
- // #[cfg_attr(test, assert_instr(i16x8.abs))] // FIXME support not in our LLVM yet
1632
+ #[ cfg_attr( test, assert_instr( i16x8. abs) ) ]
1633
1633
#[ target_feature( enable = "simd128" ) ]
1634
1634
pub unsafe fn i16x8_abs ( a : v128 ) -> v128 {
1635
1635
let a = transmute :: < _ , i16x8 > ( a) ;
@@ -1880,7 +1880,7 @@ pub unsafe fn i16x8_avgr_u(a: v128, b: v128) -> v128 {
1880
1880
1881
1881
/// Lane-wise wrapping absolute value.
1882
1882
#[ inline]
1883
- // #[cfg_attr(test, assert_instr(i32x4.abs))] // FIXME support not in our LLVM yet
1883
+ #[ cfg_attr( test, assert_instr( i32x4. abs) ) ]
1884
1884
#[ target_feature( enable = "simd128" ) ]
1885
1885
pub unsafe fn i32x4_abs ( a : v128 ) -> v128 {
1886
1886
let a = transmute :: < _ , i32x4 > ( a) ;
@@ -2122,7 +2122,7 @@ pub unsafe fn i64x2_sub(a: v128, b: v128) -> v128 {
2122
2122
2123
2123
/// Multiplies two 128-bit vectors as if they were two packed two 64-bit integers.
2124
2124
#[ inline]
2125
- // #[cfg_attr(test, assert_instr(i64x2.mul))] // FIXME: not present in our LLVM
2125
+ #[ cfg_attr( test, assert_instr( i64x2. mul) ) ]
2126
2126
#[ target_feature( enable = "simd128" ) ]
2127
2127
pub unsafe fn i64x2_mul ( a : v128 , b : v128 ) -> v128 {
2128
2128
transmute ( simd_mul ( a. as_i64x2 ( ) , b. as_i64x2 ( ) ) )
0 commit comments