File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
crates/core_simd/src/masks Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ where
105
105
#[ must_use = "method returns a new vector and does not mutate the original value" ]
106
106
pub fn to_int ( self ) -> Simd < T , LANES > {
107
107
unsafe {
108
- crate :: intrinsics:: simd_select_bitmask (
108
+ intrinsics:: simd_select_bitmask (
109
109
self . 0 ,
110
110
Simd :: splat ( T :: TRUE ) ,
111
111
Simd :: splat ( T :: FALSE ) ,
@@ -116,7 +116,7 @@ where
116
116
#[ inline]
117
117
#[ must_use = "method returns a new mask and does not mutate the original value" ]
118
118
pub unsafe fn from_int_unchecked ( value : Simd < T , LANES > ) -> Self {
119
- unsafe { Self ( crate :: intrinsics:: simd_bitmask ( value) , PhantomData ) }
119
+ unsafe { Self ( intrinsics:: simd_bitmask ( value) , PhantomData ) }
120
120
}
121
121
122
122
#[ cfg( feature = "generic_const_exprs" ) ]
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ where
115
115
pub fn to_bitmask ( self ) -> [ u8 ; LaneCount :: < LANES > :: BITMASK_LEN ] {
116
116
unsafe {
117
117
let mut bitmask: [ u8 ; LaneCount :: < LANES > :: BITMASK_LEN ] =
118
- crate :: intrinsics:: simd_bitmask ( self . 0 ) ;
118
+ intrinsics:: simd_bitmask ( self . 0 ) ;
119
119
120
120
// There is a bug where LLVM appears to implement this operation with the wrong
121
121
// bit order.
@@ -144,7 +144,7 @@ where
144
144
}
145
145
}
146
146
147
- Self :: from_int_unchecked ( crate :: intrinsics:: simd_select_bitmask (
147
+ Self :: from_int_unchecked ( intrinsics:: simd_select_bitmask (
148
148
bitmask,
149
149
Self :: splat ( true ) . to_int ( ) ,
150
150
Self :: splat ( false ) . to_int ( ) ,
You can’t perform that action at this time.
0 commit comments