Non-Confidential | PDF version | ARM 100069_0608_00_en | ||
| ||||
Home > Advanced SIMD Instructions (32-bit) > VMAXNM, VMINNM |
Vector Minimum, Vector Maximum.
These instructions are supported only in ARMv8.
You cannot use VMAXNM
or VMINNM
inside an IT block.
V
.F32 op
, Qd
, Qn
Qm
V
.F32 op
, Dd
, Dn
Dm
where:
op
MAXNM
or MINNM
.Qd
, Qn
, Qm
Dd
, Dn
, Dm
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.