14.113 VRINT

VRINT (Vector Round to Integer) rounds each floating-point element in a vector to integer, and places the results in the destination vector.

The resulting integers are represented in floating-point format.

Note:

This instruction is supported only in ARMv8.

Syntax

VRINTmode.F32.F32 Qd, Qm

VRINTmode.F32.F32 Dd, Dm

where:

mode

must be one of:

A

meaning round to nearest, ties away from zero. This cannot generate an Inexact exception, even if the result is not exact.

N
meaning round to nearest, ties to even. This cannot generate an Inexact exception, even if the result is not exact.
X
meaning round to nearest, ties to even, generating an Inexact exception if the result is not exact.
P
meaning round towards plus infinity. This cannot generate an Inexact exception, even if the result is not exact.
M
meaning round towards minus infinity. This cannot generate an Inexact exception, even if the result is not exact.
Z
meaning round towards zero. This cannot generate an Inexact exception, even if the result is not exact.
Qd, Qm
specifies the destination vector and the operand vector, for a quadword operation.
Dd, Dm
specifies the destination and operand vectors, for a doubleword operation.

Notes

You cannot use VRINT inside an IT block.

Non-ConfidentialPDF file icon PDF versionARM 100069_0608_00_en
Copyright © 2014–2017 ARM Limited or its affiliates. All rights reserved.