@@ -35,7 +35,6 @@ pub unsafe fn _bextri_u32(a: u32, start: u32, len: u32) -> u32 {
35
35
/// the least significant bits of the result.
36
36
#[ inline( always) ]
37
37
#[ target_feature = "+tbm" ]
38
- #[ cfg( not( target_arch = "x86" ) ) ]
39
38
#[ cfg_attr( test, assert_instr( bextr, start = 4 , len = 4 ) ) ]
40
39
pub unsafe fn _bextri_u64 ( a : u64 , start : u64 , len : u64 ) -> u64 {
41
40
_bextri2_u64 ( a, ( start & 0xff_u64 ) | ( ( len & 0xff_u64 ) << 8_u64 ) )
@@ -65,7 +64,6 @@ pub unsafe fn _bextri2_u32(a: u32, control: u32) -> u32 {
65
64
/// be extracted, and bits [15,8] specify the length of the range.
66
65
#[ inline( always) ]
67
66
#[ target_feature = "+tbm" ]
68
- #[ cfg( not( target_arch = "x86" ) ) ]
69
67
#[ cfg_attr( test, assert_instr( bextr, control = 1026 ) ) ]
70
68
pub unsafe fn _bextri2_u64 ( a : u64 , control : u64 ) -> u64 {
71
69
macro_rules! call {
@@ -286,7 +284,6 @@ mod tests {
286
284
assert_eq ! ( r2, 0b0000_0101u32 ) ;
287
285
}
288
286
289
- #[ cfg( not( target_arch = "x86" ) ) ]
290
287
#[ simd_test = "tbm" ]
291
288
unsafe fn _bextri_u64 ( ) {
292
289
let r = tbm:: _bextri2_u64 ( 0b0101_0000u64 , 1026 ) ;
0 commit comments