3.11.33. VCVTA, VCVTN, VCVTP and VCVTM

Floating-point to integer conversion with directed rounding.

Syntax

VCVT<rmode>.S32.F<32|64> <Sd>, <Sm|Dm>
VCVT<rmode>.U32.F<32|64> <Sd>, <Sm|Dm>

Where:

<Sd|Dd>

Is the destination single-precision or double-precision floating-point value.

<Sn|Dn>, <Sm|Dm>

Are the operand single-precision or double-precision floating-point values.

<rmode>

Is one of:

A

Round to nearest ties away.

M

Round to nearest even.

N

Round towards plus infinity.

P

Round towards minus infinity.

Operation

These instructions:

  1. Read the source register.

  2. Convert to integer with directed rounding.

  3. Write to the destination register.

Restrictions

There are no restrictions.

Condition flags

These instructions do not change the flags.

Copyright © 2015, 2018 Arm. All rights reserved.ARM DUI 0646C
Non-ConfidentialID121118