You copied the Doc URL to your clipboard.
VMAXNM, VMINNM
Vector Minimum, Vector Maximum.
Note
-
These instructions are supported only in Arm®v8.
-
You cannot use
VMAXNM
orVMINNM
inside an IT block.
Syntax
V
.F32 op
, Qd
, Qn
Qm
V
.F32 op
, Dd
, Dn
Dm
where:
op
- must be either
MAXNM
orMINNM
. Qd
,Qn
,Qm
- are the destination vector, the first operand vector, and the second operand vector, for a quadword operation.
Dd
,Dn
,Dm
- are the destination vector, the first operand vector, and the second operand vector, for a doubleword operation.
Operation
VMAXNM
compares corresponding elements in
two vectors, and copies the larger of each pair into the corresponding element in the
destination vector.
VMINNM
compares corresponding elements in
two vectors, and copies the smaller of each pair into the corresponding element in the
destination vector.
If one of the elements in a pair is a number and the other element is NaN, the corresponding result element is the number. This is consistent with the IEEE 754-2008 standard.