SIMD ISAReturn TypeNameArgumentsInstruction Group
Neonpoly16x8_tvsliq_n_p16(poly16x8_t a, poly16x8_t b, const int n)Shift / Left / Vector shift left and insert
Description
Shift Left and Insert (immediate). This instruction reads each vector element in the source SIMD&FP register, left shifts each vector element by an immediate value, and inserts the result into the corresponding vector element in the destination SIMD&FP register such that the new zero bits created by the shift are not inserted but retain their existing value. Bits shifted out of the left of each vector element in the source register are lost.
Results
Vd.8H result
This intrinsic compiles to the following instructions:

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

Argument Preparation
a register: Vd.8Hb register: Vn.8Hn minimum: 0; maximum: 15
Architectures
v7, A32, A64

Operation

CheckFPAdvSIMDEnabled64();
bits(datasize) operand  = V[n];
bits(datasize) operand2 = V[d];
bits(datasize) result;
bits(esize) mask = LSL(Ones(esize), shift);
bits(esize) shifted;

for e = 0 to elements-1
    shifted = LSL(Elem[operand, e, esize], shift);
    Elem[result, e, esize] = (Elem[operand2, e, esize] AND NOT(mask)) OR shifted;
V[d] = result;