You copied the Doc URL to your clipboard.

UCVTF (scalar, integer)

Unsigned integer Convert to Floating-point (scalar).

Syntax

UCVTF Hd, Wn ; 32-bit to half-precision

UCVTF Sd, Wn ; 32-bit to single-precision

UCVTF Dd, Wn ; 32-bit to double-precision

UCVTF Hd, Xn ; 64-bit to half-precision

UCVTF Sd, Xn ; 64-bit to single-precision

UCVTF Dd, Xn ; 64-bit to double-precision

Where:

Hd
Is the 16-bit name of the SIMD and FP destination register.
Wn
Is the 32-bit name of the general-purpose source register.
Sd
Is the 32-bit name of the SIMD and FP destination register.
Dd
Is the 64-bit name of the SIMD and FP destination register.
Xn
Is the 64-bit name of the general-purpose source register.

Operation

Unsigned integer Convert to Floating-point (scalar). This instruction converts the unsigned integer value in the general-purpose source register to a floating-point value using the rounding mode that is specified by the FPCR, and writes the result to the SIMD and FP destination register.

This instruction can generate a floating-point exception. Depending on the settings in FPCR, the exception results in either a flag being set in FPSR, or a synchronous exception being generated. For more information, see Floating-point exception traps in the Arm® Architecture Reference Manual Arm®v8, for Arm®v8‑A architecture profile.

Depending on the settings in the CPACR_EL1, CPTR_EL2, and CPTR_EL3 registers, and the current Security state and Exception level, an attempt to execute the instruction might be trapped.

Vd = unsigned_convertFromInt(Rn), where R is either W or X.

Was this page helpful? Yes No