pub unsafe fn vec_srl<T>(a: T, b: vector_unsigned_char) -> Twhere
T: VectorSrl<vector_unsigned_char, Result = T>,
🔬This is a nightly-only experimental API. (
stdarch_s390x
#135681)Available on s390x and target feature
vector
only.Expand description
Performs a right shift for a vector by a given number of bits. Each element of the result is obtained by shifting the corresponding element of a right by the number of bits specified by the last 3 bits of every byte of b. The bits that are shifted out are replaced by zeros.