3.11.32. VMAXNM and VMINNM

Return the minimum or the maximum of two floating-point numbers with NaN handling as specified by IEEE754-2008.

Syntax

VMAXNM.F<32|64> <Sd|Dd>, <Sn|Dn>, <Sm|Dm>
VMINNM.F<32|64> <Sd|Dd>, <Sn|Dn>, <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.

Operation

The VMAXNM instruction compares two source registers, and moves the largest to the destination register.

The VMINNM instruction compares two source registers, and moves the lowest 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