SIMD ISAReturn TypeNameArgumentsInstruction Group
Neonint16x8_tvshlq_n_s16(int16x8_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.8H result
This intrinsic compiles to the following instructions:

SHL Vd.8H,Vn.8H,#n

Argument Preparation
a register: Vn.8Hn minimum: 0; maximum: 15
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;