You copied the Doc URL to your clipboard.
VMAXNM, VMINNM (floating-point)
Vector Minimum, Vector Maximum.
Note
These instructions are supported only in ARMv8.Syntax
V
.F32 op
, Sd
, Sn
Sm
V
.F64 op
, Dd
, Dn
Dm
where:
op
- must be either
MAXNM
orMINNM
. Sd
,Sn
,Sm
- are the single-precision destination register, first operand register, and second operand register.
Dd
,Dn
,Dm
- are the double-precision destination register, first operand register, and second operand register.
Operation
VMAXNM
compares the values in the operand
registers, and copies the larger value into the destination operand register.
VMINNM
compares the values in the operand
registers, and copies the smaller value into the destination operand register.
If one of the values being compared is a number and the other value is NaN, the number is copied into the destination operand register. This is consistent with the IEEE 754-2008 standard.
Notes
You cannot use VMAXNM
or VMINNM
inside
an IT block.
Floating-point exceptions
These instructions can produce Input Denormal, Invalid Operation, Overflow, Underflow, or Inexact exceptions.