SIMD ISAReturn TypeNameArgumentsInstruction Group
Neonfloat16x4_tvcvt_f16_f32(float32x4_t a)Data type conversion / Conversions
Description
Floating-point Convert to lower precision Narrow (vector). This instruction reads each vector element in the SIMD&FP source register, converts each result to half the precision of the source element, writes the final result to 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. The rounding mode is determined by the FPCR.
Results
Vd.4H result
This intrinsic compiles to the following instructions:

FCVTN Vd.4H,Vn.4S

Argument Preparation
a register: Vn.4S
Architectures
v7, A32, A64

Operation

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

for e = 0 to elements-1
    Elem[result, e, esize] = FPConvert(Elem[operand, e, 2*esize], FPCR[]);

Vpart[d, part] = result;