@@ -56,28 +56,28 @@ macro_rules! impl_integer {
5656 fn simd_lt( self , other: Self ) -> Self :: Mask {
5757 // Safety: `self` is a vector, and the result of the comparison
5858 // is always a valid mask.
59- unsafe { Mask :: from_int_unchecked ( core:: intrinsics:: simd:: simd_lt( self , other) ) }
59+ unsafe { Mask :: from_simd_unchecked ( core:: intrinsics:: simd:: simd_lt( self , other) ) }
6060 }
6161
6262 #[ inline]
6363 fn simd_le( self , other: Self ) -> Self :: Mask {
6464 // Safety: `self` is a vector, and the result of the comparison
6565 // is always a valid mask.
66- unsafe { Mask :: from_int_unchecked ( core:: intrinsics:: simd:: simd_le( self , other) ) }
66+ unsafe { Mask :: from_simd_unchecked ( core:: intrinsics:: simd:: simd_le( self , other) ) }
6767 }
6868
6969 #[ inline]
7070 fn simd_gt( self , other: Self ) -> Self :: Mask {
7171 // Safety: `self` is a vector, and the result of the comparison
7272 // is always a valid mask.
73- unsafe { Mask :: from_int_unchecked ( core:: intrinsics:: simd:: simd_gt( self , other) ) }
73+ unsafe { Mask :: from_simd_unchecked ( core:: intrinsics:: simd:: simd_gt( self , other) ) }
7474 }
7575
7676 #[ inline]
7777 fn simd_ge( self , other: Self ) -> Self :: Mask {
7878 // Safety: `self` is a vector, and the result of the comparison
7979 // is always a valid mask.
80- unsafe { Mask :: from_int_unchecked ( core:: intrinsics:: simd:: simd_ge( self , other) ) }
80+ unsafe { Mask :: from_simd_unchecked ( core:: intrinsics:: simd:: simd_ge( self , other) ) }
8181 }
8282 }
8383
@@ -122,28 +122,28 @@ macro_rules! impl_float {
122122 fn simd_lt( self , other: Self ) -> Self :: Mask {
123123 // Safety: `self` is a vector, and the result of the comparison
124124 // is always a valid mask.
125- unsafe { Mask :: from_int_unchecked ( core:: intrinsics:: simd:: simd_lt( self , other) ) }
125+ unsafe { Mask :: from_simd_unchecked ( core:: intrinsics:: simd:: simd_lt( self , other) ) }
126126 }
127127
128128 #[ inline]
129129 fn simd_le( self , other: Self ) -> Self :: Mask {
130130 // Safety: `self` is a vector, and the result of the comparison
131131 // is always a valid mask.
132- unsafe { Mask :: from_int_unchecked ( core:: intrinsics:: simd:: simd_le( self , other) ) }
132+ unsafe { Mask :: from_simd_unchecked ( core:: intrinsics:: simd:: simd_le( self , other) ) }
133133 }
134134
135135 #[ inline]
136136 fn simd_gt( self , other: Self ) -> Self :: Mask {
137137 // Safety: `self` is a vector, and the result of the comparison
138138 // is always a valid mask.
139- unsafe { Mask :: from_int_unchecked ( core:: intrinsics:: simd:: simd_gt( self , other) ) }
139+ unsafe { Mask :: from_simd_unchecked ( core:: intrinsics:: simd:: simd_gt( self , other) ) }
140140 }
141141
142142 #[ inline]
143143 fn simd_ge( self , other: Self ) -> Self :: Mask {
144144 // Safety: `self` is a vector, and the result of the comparison
145145 // is always a valid mask.
146- unsafe { Mask :: from_int_unchecked ( core:: intrinsics:: simd:: simd_ge( self , other) ) }
146+ unsafe { Mask :: from_simd_unchecked ( core:: intrinsics:: simd:: simd_ge( self , other) ) }
147147 }
148148 }
149149 ) *
@@ -163,28 +163,28 @@ macro_rules! impl_mask {
163163 fn simd_lt( self , other: Self ) -> Self :: Mask {
164164 // Safety: `self` is a vector, and the result of the comparison
165165 // is always a valid mask.
166- unsafe { Self :: from_int_unchecked ( core:: intrinsics:: simd:: simd_lt( self . to_simd( ) , other. to_simd( ) ) ) }
166+ unsafe { Self :: from_simd_unchecked ( core:: intrinsics:: simd:: simd_lt( self . to_simd( ) , other. to_simd( ) ) ) }
167167 }
168168
169169 #[ inline]
170170 fn simd_le( self , other: Self ) -> Self :: Mask {
171171 // Safety: `self` is a vector, and the result of the comparison
172172 // is always a valid mask.
173- unsafe { Self :: from_int_unchecked ( core:: intrinsics:: simd:: simd_le( self . to_simd( ) , other. to_simd( ) ) ) }
173+ unsafe { Self :: from_simd_unchecked ( core:: intrinsics:: simd:: simd_le( self . to_simd( ) , other. to_simd( ) ) ) }
174174 }
175175
176176 #[ inline]
177177 fn simd_gt( self , other: Self ) -> Self :: Mask {
178178 // Safety: `self` is a vector, and the result of the comparison
179179 // is always a valid mask.
180- unsafe { Self :: from_int_unchecked ( core:: intrinsics:: simd:: simd_gt( self . to_simd( ) , other. to_simd( ) ) ) }
180+ unsafe { Self :: from_simd_unchecked ( core:: intrinsics:: simd:: simd_gt( self . to_simd( ) , other. to_simd( ) ) ) }
181181 }
182182
183183 #[ inline]
184184 fn simd_ge( self , other: Self ) -> Self :: Mask {
185185 // Safety: `self` is a vector, and the result of the comparison
186186 // is always a valid mask.
187- unsafe { Self :: from_int_unchecked ( core:: intrinsics:: simd:: simd_ge( self . to_simd( ) , other. to_simd( ) ) ) }
187+ unsafe { Self :: from_simd_unchecked ( core:: intrinsics:: simd:: simd_ge( self . to_simd( ) , other. to_simd( ) ) ) }
188188 }
189189 }
190190
0 commit comments