SIMD ISAReturn TypeNameArgumentsInstruction Group
Neonuint64x2_tvcvtnq_u64_f64(float64x2_t a)Data type conversion / Conversions
Description
Floating-point Convert to Unsigned integer, rounding to nearest with ties to even (vector). This instruction converts a scalar or each element in a vector from a floating-point value to an unsigned integer value using the Round to Nearest rounding mode, and writes the result to the SIMD&FP destination register.
Results
Vd.2D result
This intrinsic compiles to the following instructions:

FCVTNU Vd.2D,Vn.2D

Argument Preparation
a register: Vn.2D
Architectures
A64

Operation

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

bits(esize) element;
FPCRType fpcr    = FPCR[];
boolean merge    = elements == 1 && IsMerging(fpcr);
bits(128) result = if merge then V[d] else Zeros();

for e = 0 to elements-1
    element = Elem[operand, e, esize];
    Elem[result, e, esize] = FPToFixed(element, 0, unsigned, fpcr, rounding);

V[d] = result;