| |||
| Home > NEON and VFP Programming > NEON general data processing instructions > VCVT | |||
VCVT (Vector Convert) converts each element in
a vector in one of the following ways, and places the results in
a second vector:
from floating-point to integer
from integer to floating-point
from floating-point to fixed-point
from fixed-point to floating-point.
VCVT{cond}.type Qd, Qm {, #fbits}
VCVT{cond}.type Dd, Dm {, #fbits}
where:
condis an optional condition code (see Condition codes).
typespecifies the data types for the elements of the vectors. It must be one of:
S32.F32floating-point to signed integer or fixed-point
U32.F32floating-point to unsigned integer or fixed-point
F32.S32signed integer or fixed-point to floating-point
F32.U32unsigned integer or fixed-point to floating-point
Qd, Qmspecifies the destination vector and the operand vector, for a quadword operation.
Dd, Dmspecifies the destination vector and the operand vector, for a doubleword operation.
fbitsif present, specifies the number of fraction bits
in the fixed point number. Otherwise, the conversion is between
floating-point and integer. must
lie in the range 0-32fbits
== 0 is
equivalent to omitting fbits. fbits is
omitted on disassembly if the value is 0.fbits