ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 913 microarchs · 15,555 chips · 105 sources
Arch:
Tier:

V_PK_ADD_MAX_U16

T1 amd-gpu simd insn
AMD GPU V_PK_ADD_MAX_U16 (ENC_VOP3P, VOP3P_INST_LITERAL)
SourceAMD Official Machine-Readable GPU ISA XMLs (RDNA & CDNA) (amd_gpu_isa)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeCDNA5
AMD RDNA1/2/3/3.5/4 & CDNA1/2/3/4 GPUs
License & VersionAMD GPUOpen / MIT (isa_spec_manager)
2026-official
Upstreamhttps://gpuopen.com/machine-readable-isa/
Privilegeuser
ExtensionsCDNA5, VALU

Summary

Add two packed unsigned 16-bit integer inputs component-wise with clamping enabled, then select the maximum of those values and the third packed input. Store the selected packed values into a vector register.

Syntax / Encoding

V_PK_ADD_MAX_U16 VDST, SRC0, SRC1, SRC2, LITERAL | ENC_VOP3P op=21 [CDNA5]; VOP3P_INST_LITERAL op=21 [CDNA5]

Binary Encodings (2)

WidthFormatBit PatternMask / Match
64ENC_VOP3Pxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1100110000010101xxxxxxxxxxxxxxxx0x00000000ffff0000 / 0x00000000cc150000
96VOP3P_INST_LITERALxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1100110000010101xxxxxxxxxxxxxxxx0x0000000000000000ffff0000 / 0x0000000000000000cc150000

Operands

NameDescription
VDST
SRC0
SRC1
SRC2
LITERAL