Non-Confidential | ![]() | DUI0801J | ||
| ||||
Home > A64 SIMD Scalar Instructions > FCVTXN (scalar) |
Floating-point Convert to lower precision Narrow, rounding to odd (vector).
FCVTXN
Vb
d
, Va
n
Where:
Vb
S
.
d
Va
D
.
n
Floating-point Convert to lower precision Narrow, rounding to odd (vector). This instruction reads each vector element in the source SIMD and FP register, narrows each value to half the precision of the source element using the Round to Odd rounding mode, writes the result to a vector, and writes the vector to the destination SIMD and FP register.
The FCVTXN
instruction writes the vector to the lower half of the destination register and clears the upper half, while the FCVTXN2
instruction writes the vector to the upper half of the destination register without affecting the other bits of the 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.