@@ -273,7 +273,7 @@ pub unsafe fn simd_shuffle<T, U, V>(_x: T, _y: T, _idx: U) -> V;
273
273
///
274
274
/// `U` must be a vector of pointers to the element type of `T`, with the same length as `T`.
275
275
///
276
- /// `V` must be a vector of integers with the same length as `T` (but any element size).
276
+ /// `V` must be a vector of signed integers with the same length as `T` (but any element size).
277
277
///
278
278
/// For each pointer in `ptr`, if the corresponding value in `mask` is `!0`, read the pointer.
279
279
/// Otherwise if the corresponding value in `mask` is `0`, return the corresponding value from
@@ -294,7 +294,7 @@ pub unsafe fn simd_gather<T, U, V>(_val: T, _ptr: U, _mask: V) -> T;
294
294
///
295
295
/// `U` must be a vector of pointers to the element type of `T`, with the same length as `T`.
296
296
///
297
- /// `V` must be a vector of integers with the same length as `T` (but any element size).
297
+ /// `V` must be a vector of signed integers with the same length as `T` (but any element size).
298
298
///
299
299
/// For each pointer in `ptr`, if the corresponding value in `mask` is `!0`, write the
300
300
/// corresponding value in `val` to the pointer.
@@ -318,7 +318,7 @@ pub unsafe fn simd_scatter<T, U, V>(_val: T, _ptr: U, _mask: V);
318
318
///
319
319
/// `U` must be a pointer to the element type of `T`
320
320
///
321
- /// `V` must be a vector of integers with the same length as `T` (but any element size).
321
+ /// `V` must be a vector of signed integers with the same length as `T` (but any element size).
322
322
///
323
323
/// For each element, if the corresponding value in `mask` is `!0`, read the corresponding
324
324
/// pointer offset from `ptr`.
@@ -341,7 +341,7 @@ pub unsafe fn simd_masked_load<V, U, T>(_mask: V, _ptr: U, _val: T) -> T;
341
341
///
342
342
/// `U` must be a pointer to the element type of `T`
343
343
///
344
- /// `V` must be a vector of integers with the same length as `T` (but any element size).
344
+ /// `V` must be a vector of signed integers with the same length as `T` (but any element size).
345
345
///
346
346
/// For each element, if the corresponding value in `mask` is `!0`, write the corresponding
347
347
/// value in `val` to the pointer offset from `ptr`.
@@ -523,9 +523,9 @@ pub unsafe fn simd_bitmask<T, U>(_x: T) -> U;
523
523
524
524
/// Selects elements from a mask.
525
525
///
526
- /// `M ` must be an integer vector.
526
+ /// `T ` must be a vector.
527
527
///
528
- /// `T ` must be a vector with the same number of elements as `M` .
528
+ /// `M ` must be a signed integer vector with the same length as `T` (but any element size) .
529
529
///
530
530
/// For each element, if the corresponding value in `mask` is `!0`, select the element from
531
531
/// `if_true`. If the corresponding value in `mask` is `0`, select the element from
0 commit comments