3.11.34. VRINTR and VRINTX

Round a floating-point value to an integer in floating-point format.

Syntax

VRINT{R,X}{cond}.F<32|64> <Sd|Dd>, <Sm|Dm>

Where:

cond

Is an optional condition code. See Conditional execution.

<Sd|Dd>

Is the destination floating-point value.

<Sm|Dm>

Are the operand floating-point values.

Operation

These instructions:

  1. Read the source register.

  2. Round to the nearest integer value in floating-point format using the rounding mode specified by the FPSCR.

  3. Write the result to the destination register.

  4. For the VRINTZX instruction only. Generate a floating-point exception if the result is not exact.

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