You copied the Doc URL to your clipboard.
VCVT (from floating-point to integer with directed rounding modes)
VCVT
(Vector Convert) converts each element in a vector from floating-point to signed or unsigned integer, and places the results in the destination vector.
Note
-
This instruction is supported only in Arm®v8.
-
You cannot use
VCVT
with a directed rounding mode inside an IT block.
Syntax
VCVT
.mode
type
, Qd
Qm
VCVT
.type mode
, Dd
Dm
where:
mode
must be one of:
A
meaning round to nearest, ties away from zero
N
- meaning round to nearest, ties to even
P
- meaning round towards plus infinity
M
- meaning round towards minus infinity.
type
specifies the data types for the elements of the vectors. It must be one of:
S32.F32
floating-point to signed integer
U32.F32
- floating-point to unsigned integer.
Qd, Qm
- specifies the destination and operand vectors, for a quadword operation.
Dd, Dm
- specifies the destination and operand vectors, for a doubleword operation.