Non-Confidential | ![]() | ARM 100069_0608_00_en | ||
| ||||
Home > A64 Floating-point Instructions > FCVT |
Floating-point Convert precision (scalar).
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
Hn
Dd
Hd
Sn
Dn
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 V
d = convertFormat(V
n)
is V
D
, H
, or S
.