SIMD ISAReturn TypeNameArgumentsInstruction Group
Neonfloat32x4_tvrndaq_f32(float32x4_t a)Vector arithmetic / Rounding
Description
Floating-point Round to Integral, to nearest with ties to Away (vector). This instruction rounds a vector of floating-point values in the SIMD&FP source register to integral floating-point values of the same size using the Round to Nearest with Ties to Away rounding mode, and writes the result to the SIMD&FP destination register.
Results
Vd.4S result
This intrinsic compiles to the following instructions:

FRINTA Vd.4S,Vn.4S

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

Operation

CheckFPAdvSIMDEnabled64();
bits(datasize) operand = V[n];
bits(datasize) result;
bits(esize) element;

for e = 0 to elements-1
    element = Elem[operand, e, esize];
    Elem[result, e, esize] = FPRoundInt(element, FPCR[], rounding, exact);

V[d] = result;