14.40 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

VCVTmode.type Qd, Qm

VCVTmode.type 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.
Non-ConfidentialPDF file icon PDF versionDUI0801J
Copyright © 2014–2017, 2019 Arm Limited or its affiliates. All rights reserved.