SIMD ISAReturn TypeNameArgumentsInstruction Group
Neonint8x16_tvshlq_n_s8(int8x16_t a, const int n)Shift / Left / Vector shift left
Description
Shift Left (immediate). This instruction reads each value from a vector, left shifts each result by an immediate value, writes the final result to a vector, and writes the vector to the destination SIMD&FP register.
Results
Vd.16B result
This intrinsic compiles to the following instructions:

SHL Vd.16B,Vn.16B,#n

Argument Preparation
a register: Vn.16Bn minimum: 0; maximum: 7
Architectures
v7, A32, A64

Operation

CheckFPAdvSIMDEnabled64();
bits(datasize) operand  = V[n];
bits(datasize) result;

for e = 0 to elements-1
    Elem[result, e, esize] = LSL(Elem[operand, e, esize], shift);

V[d] = result;