vec_sll in core::arch::s390x - Rust
Description: Vector Shift Left

Skip to main content

## vec_sll

# Function vec_sll

Source

    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 non-`target_abi=softfloat` and target feature `vector` only.
Expand description

Vector Shift Left

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.