Skip to content

VMAXU

Operation

Selects the greater unsigned value from each active destination/source element pair.

Assembler Syntax

VMAXU.{B|W|L|Q}(z) Pn(p), Vn(v), Vn(w)

VMAXU.{B|W|L|Q}(z) Pn(p), <ea>(e), Vn(v)

VMAXU.{B|W|L|Q}(z) Pn(p), Vn(v), <ea>(e)

Privilege

Unprivileged

Required CPUID flags

VECTOR

The governing predicate selects destination elements for update. For each selected element, the old destination and corresponding source are interpreted as unsigned B, W, L, or Q values. The greater value's bit pattern replaces the destination element. An unselected destination element retains its previous bit pattern.

The register form reads both operands from corresponding vector lanes. The memory-source form reads the source elements from memory and updates destination register lanes. The memory-destination form reads each selected destination element, compares it with the corresponding source-register lane, and writes the selected bit pattern back to that memory element.

2.75in

Encodings

VMAXU.{B|W|L|Q}(z) Pn(p), Vn(v), Vn(w)

Format: Instruction format for VMAXU.{B|W|L|Q}(z) Pn(p), Vn(v), Vn(w)

Format: Instruction format for VMAXU.{B|W|L|Q}(z) Pn(p), Vn(v), Vn(w)

2.75in VMAXU.{B|W|L|Q}(z) Pn(p), <ea>(e), Vn(v)

Format: Instruction format for VMAXU.{B|W|L|Q}(z) Pn(p), <ea>(e), Vn(v)

Format: Instruction format for VMAXU.{B|W|L|Q}(z) Pn(p), <ea>(e), Vn(v)

2.75in VMAXU.{B|W|L|Q}(z) Pn(p), Vn(v), <ea>(e)

Format: Instruction format for VMAXU.{B|W|L|Q}(z) Pn(p), Vn(v), <ea>(e)

Format: Instruction format for VMAXU.{B|W|L|Q}(z) Pn(p), Vn(v), <ea>(e)

dstexcluded: immediate [invalid_destination]