Function tracing::stdlib::intrinsics::simd::simd_arith_offset
source · pub unsafe extern "rust-intrinsic" fn simd_arith_offset<T, U>(
ptr: T,
offset: U,
) -> T
🔬This is a nightly-only experimental API. (
core_intrinsics
)Expand description
Elementwise calculates the offset from a pointer vector, potentially wrapping.
T
must be a vector of pointers.
U
must be a vector of isize
or usize
with the same number of elements as T
.
Operates as if by <ptr>::wrapping_offset
.