[][src]Macro safe_arch::byte_shl_imm_u128_m256i

macro_rules! byte_shl_imm_u128_m256i {
    ($a:expr, $imm:expr) => { ... };
}
This is supported with target feature avx2 only.

Shifts each u128 lane left by a number of bytes.

let a = m256i::from([0x0000000B_0000000A_0000000F_11111111_u128; 2]);
//
let b: [u128; 2] = byte_shl_imm_u128_m256i!(a, 1).into();
assert_eq!(b, [0x00000B00_00000A00_00000F11_11111100_u128; 2]);