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