@@ -56,28 +56,28 @@ macro_rules! impl_integer {
56
56
fn simd_lt( self , other: Self ) -> Self :: Mask {
57
57
// Safety: `self` is a vector, and the result of the comparison
58
58
// 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) ) }
60
60
}
61
61
62
62
#[ inline]
63
63
fn simd_le( self , other: Self ) -> Self :: Mask {
64
64
// Safety: `self` is a vector, and the result of the comparison
65
65
// 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) ) }
67
67
}
68
68
69
69
#[ inline]
70
70
fn simd_gt( self , other: Self ) -> Self :: Mask {
71
71
// Safety: `self` is a vector, and the result of the comparison
72
72
// 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) ) }
74
74
}
75
75
76
76
#[ inline]
77
77
fn simd_ge( self , other: Self ) -> Self :: Mask {
78
78
// Safety: `self` is a vector, and the result of the comparison
79
79
// 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) ) }
81
81
}
82
82
}
83
83
@@ -122,28 +122,28 @@ macro_rules! impl_float {
122
122
fn simd_lt( self , other: Self ) -> Self :: Mask {
123
123
// Safety: `self` is a vector, and the result of the comparison
124
124
// 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) ) }
126
126
}
127
127
128
128
#[ inline]
129
129
fn simd_le( self , other: Self ) -> Self :: Mask {
130
130
// Safety: `self` is a vector, and the result of the comparison
131
131
// 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) ) }
133
133
}
134
134
135
135
#[ inline]
136
136
fn simd_gt( self , other: Self ) -> Self :: Mask {
137
137
// Safety: `self` is a vector, and the result of the comparison
138
138
// 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) ) }
140
140
}
141
141
142
142
#[ inline]
143
143
fn simd_ge( self , other: Self ) -> Self :: Mask {
144
144
// Safety: `self` is a vector, and the result of the comparison
145
145
// 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) ) }
147
147
}
148
148
}
149
149
) *
@@ -163,28 +163,28 @@ macro_rules! impl_mask {
163
163
fn simd_lt( self , other: Self ) -> Self :: Mask {
164
164
// Safety: `self` is a vector, and the result of the comparison
165
165
// 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( ) ) ) }
167
167
}
168
168
169
169
#[ inline]
170
170
fn simd_le( self , other: Self ) -> Self :: Mask {
171
171
// Safety: `self` is a vector, and the result of the comparison
172
172
// 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( ) ) ) }
174
174
}
175
175
176
176
#[ inline]
177
177
fn simd_gt( self , other: Self ) -> Self :: Mask {
178
178
// Safety: `self` is a vector, and the result of the comparison
179
179
// 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( ) ) ) }
181
181
}
182
182
183
183
#[ inline]
184
184
fn simd_ge( self , other: Self ) -> Self :: Mask {
185
185
// Safety: `self` is a vector, and the result of the comparison
186
186
// 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( ) ) ) }
188
188
}
189
189
}
190
190
0 commit comments