FCVT
Floating-point Convert precision (scalar).
Syntax
FCVT
Sd, Hn ; Half-precision to single-precision
FCVT
Dd, Hn ; Half-precision to double-precision
FCVT
Hd, Sn ; Single-precision to half-precision
FCVT
Dd, Sn ; Single-precision to double-precision
FCVT
Hd, Dn ; Double-precision to half-precision
FCVT
Sd, Dn ; Double-precision to single-precision
Where:
Sd- Is the 32-bit name of the SIMD and FP destination register.
Hn- Is the 16-bit name of the SIMD and FP source register.
Dd- Is the 64-bit name of the SIMD and FP destination register.
Hd- Is the 16-bit name of the SIMD and FP destination register.
Sn- Is the 32-bit name of the SIMD and FP source register.
Dn- Is the 64-bit name of the SIMD and FP source register.
Operation
Floating-point Convert precision (scalar). This instruction converts the floating-point value in the SIMD and FP source register to the precision for the destination register data type using the rounding mode that is determined by the FPCR and writes the result to the SIMD and FP destination register.
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.
, where Vd =
convertFormat(Vn) is VD, H, or S.