pub unsafe fn vec_sll<T>(a: T, b: vector_unsigned_char) -> Twhere
T: VectorSll<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 left shift for a vector by a given number of bits. Each element of the result is obtained by shifting the corresponding element of a left 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.