diff options
| author | Ralf Jung <post@ralfj.de> | 2023-12-29 00:09:11 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2024-02-10 10:13:15 +0100 |
| commit | aa64c73f1413fcf5277075774022d2da44840ae5 (patch) | |
| tree | c97d41cf407331b673ce144f4b07c7908909ef4d | |
| parent | 5219af6ae0a71c20dc5fa25520ef2b2927e37f7e (diff) | |
| download | rust-aa64c73f1413fcf5277075774022d2da44840ae5.tar.gz rust-aa64c73f1413fcf5277075774022d2da44840ae5.zip | |
simd_scatter: mention left-to-right order
| -rw-r--r-- | library/core/src/intrinsics/simd.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/library/core/src/intrinsics/simd.rs b/library/core/src/intrinsics/simd.rs index d52f04bf3e0..97eca28ec05 100644 --- a/library/core/src/intrinsics/simd.rs +++ b/library/core/src/intrinsics/simd.rs @@ -245,6 +245,9 @@ extern "platform-intrinsic" { /// corresponding value in `val` to the pointer. /// Otherwise if the corresponding value in `mask` is `0`, do nothing. /// + /// The stores happen in left-to-right order. + /// (This is relevant in case two of the stores overlap.) + /// /// # Safety /// Unmasked values in `T` must be writeable as if by `<ptr>::write` (e.g. aligned to the element /// type). |
