SIMD ISAReturn TypeNameArgumentsInstruction Group
Neonint16x8_tvqmovn_high_s32(int16x4_t r, int32x4_t a)Move / Saturating narrow
Description
Signed saturating extract Narrow. This instruction reads each vector element from the source SIMD&FP register, saturates the value to half the original width, places the result into a vector, and writes the vector to the lower or upper half of the destination SIMD&FP register. The destination vector elements are half as long as the source vector elements. All the values in this instruction are signed integer values.
Results
Vd.8H result
This intrinsic compiles to the following instructions:

SQXTN2 Vd.8H,Vn.4S

Argument Preparation
r register: Vd.4Ha register: Vn.4S
Architectures
A64

Operation

CheckFPAdvSIMDEnabled64();
bits(2*datasize) operand = V[n];
bits(datasize) result;
bits(2*esize) element;
boolean sat;

for e = 0 to elements-1
    element = Elem[operand, e, 2*esize];
    (Elem[result, e, esize], sat) = SatQ(Int(element, unsigned), esize, unsigned);
    if sat then FPSR.QC = '1';

Vpart[d, part] = result;