You copied the Doc URL to your clipboard.

VCVT (from floating-point to integer with directed rounding modes)

Convert from floating-point to signed or unsigned integer with directed rounding modes.

Note

This instruction is supported only in Arm®v8.

Syntax

VCVTmode.S32.F64 Sd, Dm

VCVTmode.S32.F32 Sd, Sm

VCVTmode.U32.F64 Sd, Dm

VCVTmode.U32.F32 Sd, Sm

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.
Sd, Sm
specifies the single-precision registers for the operand and result.
Sd, Dm
specifies a single-precision register for the result and double-precision register holding the operand.

Notes

You cannot use VCVT with a directed rounding mode inside an IT block.

Floating-point exceptions

These instructions can produce Input Denormal, Invalid Operation, or Inexact exceptions.

Was this page helpful? Yes No