SIMD ISAReturn TypeNameArgumentsInstruction Group
Neonuint16_tvqmovns_u32(uint32_t a)Move / Saturating narrow
Description
Unsigned saturating extract Narrow. This instruction reads each vector element from the source SIMD&FP register, saturates each value to half the original width, places the result into a vector, and writes the vector to the destination SIMD&FP register. All the values in this instruction are unsigned integer values.
Results
Hd result
This intrinsic compiles to the following instructions:

UQXTN Hd,Sn

Argument Preparation
a register: Sn
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;