Skip to content

Commit 4c3c2fb

Browse files
committed
simd_scatter: mention left-to-right order
1 parent 4201c0a commit 4c3c2fb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

library/core/src/intrinsics/simd.rs

+3
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,9 @@ extern "platform-intrinsic" {
245245
/// corresponding value in `val` to the pointer.
246246
/// Otherwise if the corresponding value in `mask` is `0`, do nothing.
247247
///
248+
/// The stores happen in left-to-right order.
249+
/// (This is relevant in case two of the stores overlap.)
250+
///
248251
/// # Safety
249252
/// Unmasked values in `T` must be writeable as if by `<ptr>::write` (e.g. aligned to the element
250253
/// type).

0 commit comments

Comments
 (0)