Function tracing_core::stdlib::intrinsics::simd::simd_shr
source · pub unsafe extern "rust-intrinsic" fn simd_shr<T>(lhs: T, rhs: T) -> T
🔬This is a nightly-only experimental API. (
core_intrinsics
)Expand description
Elementwise vector right shift, with UB on overflow.
T
must be a vector of integer primitive types.
Shift lhs
right by rhs
, shifting in sign bits for signed types.
§Safety
Each element of rhs
must be less than <int>::BITS
.