Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions library/core/src/intrinsics/simd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -371,8 +371,8 @@ pub const unsafe fn simd_shuffle<T, U, V>(x: T, y: T, idx: U) -> V;
/// `val`.
///
/// # Safety
/// Unmasked values in `T` must be readable as if by `<ptr>::read` (e.g. aligned to the element
/// type).
/// Each pointer in `ptr` whose corresponding value in `mask` is `!0` must be readable as if by
/// [`ptr::read`][crate::ptr::read] (e.g. aligned to the element type).
///
/// `mask` must only contain `0` or `!0` values.
#[rustc_intrinsic]
Expand All @@ -395,8 +395,8 @@ pub const unsafe fn simd_gather<T, U, V>(val: T, ptr: U, mask: V) -> T;
/// (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).
/// Each pointer in `ptr` whose corresponding value in `mask` is `!0` must be writable as if by
/// [`ptr::write`][crate::ptr::write] (e.g. aligned to the element type).
///
/// `mask` must only contain `0` or `!0` values.
#[rustc_intrinsic]
Expand Down
Loading