Skip to content

Commit defc97e

Browse files
Daniel SmithAmanieu
Daniel Smith
authored andcommitted
s/unsigned/signed/ for epi64
1 parent 35f71c2 commit defc97e

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

crates/core_arch/src/x86/avx512f.rs

+10-10
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ pub unsafe fn _mm512_mask_cmpeq_epu64_mask(m: __mmask8, a: __m512i, b: __m512i)
199199
_mm512_cmpeq_epu64_mask(a, b) & m
200200
}
201201

202-
/// Compare packed unsigned 64-bit integers in a and b for less-than, and store the results in a mask vector.
202+
/// Compare packed signed 64-bit integers in a and b for less-than, and store the results in a mask vector.
203203
///
204204
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#expand=727,1063,4909,1062,1062&text=_mm512_cmplt_epi64)
205205
#[inline]
@@ -209,7 +209,7 @@ pub unsafe fn _mm512_cmplt_epi64_mask(a: __m512i, b: __m512i) -> __mmask8 {
209209
simd_bitmask::<__m512i, _>(simd_lt(a.as_i64x8(), b.as_i64x8()))
210210
}
211211

212-
///Compare packed unsigned 64-bit integers in a and b for less-than, and store the results in a mask vector k
212+
///Compare packed signed 64-bit integers in a and b for less-than, and store the results in a mask vector k
213213
/// using zeromask m (elements are zeroed out when the corresponding mask bit is not set).
214214
///
215215
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#expand=727,1063,4909,1062,1062,1063&text=_mm512_mask_cmplt_epi64)
@@ -220,7 +220,7 @@ pub unsafe fn _mm512_mask_cmplt_epi64_mask(m: __mmask8, a: __m512i, b: __m512i)
220220
_mm512_cmplt_epi64_mask(a, b) & m
221221
}
222222

223-
/// Compare packed unsigned 64-bit integers in a and b for greater-than, and store the results in a mask vector.
223+
/// Compare packed signed 64-bit integers in a and b for greater-than, and store the results in a mask vector.
224224
///
225225
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#expand=727,1063,4909,1062,1062&text=_mm512_cmpgt_epi64)
226226
#[inline]
@@ -230,7 +230,7 @@ pub unsafe fn _mm512_cmpgt_epi64_mask(a: __m512i, b: __m512i) -> __mmask8 {
230230
simd_bitmask::<__m512i, _>(simd_gt(a.as_i64x8(), b.as_i64x8()))
231231
}
232232

233-
///Compare packed unsigned 64-bit integers in a and b for greater-than, and store the results in a mask vector k
233+
///Compare packed signed 64-bit integers in a and b for greater-than, and store the results in a mask vector k
234234
/// using zeromask m (elements are zeroed out when the corresponding mask bit is not set).
235235
///
236236
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#expand=727,1063,4909,1062,1062,1063&text=_mm512_mask_cmpgt_epi64)
@@ -241,7 +241,7 @@ pub unsafe fn _mm512_mask_cmpgt_epi64_mask(m: __mmask8, a: __m512i, b: __m512i)
241241
_mm512_cmpgt_epi64_mask(a, b) & m
242242
}
243243

244-
/// Compare packed unsigned 64-bit integers in a and b for less-than-or-equal, and store the results in a mask vector.
244+
/// Compare packed signed 64-bit integers in a and b for less-than-or-equal, and store the results in a mask vector.
245245
///
246246
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#expand=727,1063,4909,1062,1062&text=_mm512_cmple_epi64)
247247
#[inline]
@@ -251,7 +251,7 @@ pub unsafe fn _mm512_cmple_epi64_mask(a: __m512i, b: __m512i) -> __mmask8 {
251251
_mm512_cmpgt_epi64_mask(b, a)
252252
}
253253

254-
///Compare packed unsigned 64-bit integers in a and b for less-than-or-equal, and store the results in a mask vector k
254+
///Compare packed signed 64-bit integers in a and b for less-than-or-equal, and store the results in a mask vector k
255255
/// using zeromask m (elements are zeroed out when the corresponding mask bit is not set).
256256
///
257257
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#expand=727,1063,4909,1062,1062,1063&text=_mm512_mask_cmple_epi64)
@@ -262,7 +262,7 @@ pub unsafe fn _mm512_mask_cmple_epi64_mask(m: __mmask8, a: __m512i, b: __m512i)
262262
_mm512_cmpgt_epi64_mask(b, a) & m
263263
}
264264

265-
/// Compare packed unsigned 64-bit integers in a and b for greater-than-or-equal, and store the results in a mask vector.
265+
/// Compare packed signed 64-bit integers in a and b for greater-than-or-equal, and store the results in a mask vector.
266266
///
267267
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#expand=727,1063,4909,1062,1062&text=_mm512_cmpge_epi64)
268268
#[inline]
@@ -272,7 +272,7 @@ pub unsafe fn _mm512_cmpge_epi64_mask(a: __m512i, b: __m512i) -> __mmask8 {
272272
_mm512_cmplt_epi64_mask(b, a)
273273
}
274274

275-
///Compare packed unsigned 64-bit integers in a and b for greater-than-or-equal, and store the results in a mask vector k
275+
///Compare packed signed 64-bit integers in a and b for greater-than-or-equal, and store the results in a mask vector k
276276
/// using zeromask m (elements are zeroed out when the corresponding mask bit is not set).
277277
///
278278
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#expand=727,1063,4909,1062,1062,1063&text=_mm512_mask_cmpge_epi64)
@@ -283,7 +283,7 @@ pub unsafe fn _mm512_mask_cmpge_epi64_mask(m: __mmask8, a: __m512i, b: __m512i)
283283
_mm512_cmplt_epi64_mask(b, a) & m
284284
}
285285

286-
/// Compare packed unsigned 64-bit integers in a and b for equality, and store the results in a mask vector.
286+
/// Compare packed signed 64-bit integers in a and b for equality, and store the results in a mask vector.
287287
///
288288
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#expand=727,1063,4909,1062,1062&text=_mm512_cmpeq_epi64)
289289
#[inline]
@@ -293,7 +293,7 @@ pub unsafe fn _mm512_cmpeq_epi64_mask(a: __m512i, b: __m512i) -> __mmask8 {
293293
simd_bitmask::<__m512i, _>(simd_eq(a.as_i64x8(), b.as_i64x8()))
294294
}
295295

296-
///Compare packed unsigned 64-bit integers in a and b for equality, and store the results in a mask vector k
296+
///Compare packed signed 64-bit integers in a and b for equality, and store the results in a mask vector k
297297
/// using zeromask m (elements are zeroed out when the corresponding mask bit is not set).
298298
///
299299
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#expand=727,1063,4909,1062,1062,1063&text=_mm512_mask_cmpeq_epi64)

0 commit comments

Comments
 (0)