You copied the Doc URL to your clipboard.

VMAXNM, VMINNM

Vector Minimum, Vector Maximum.

Note

  • These instructions are supported only in Armv8.

  • You cannot use VMAXNM or VMINNM inside an IT block.

Syntax

Vop.F32 Qd, Qn, Qm

Vop.F32 Dd, Dn, Dm

where:

op
must be either MAXNM or MINNM.
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.

Was this page helpful? Yes No