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

V_PERM_PK16_B8_U4

T1 amd-gpu simd insn
AMD GPU V_PERM_PK16_B8_U4 (ENC_VOP3, VOP3_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

Given a 128-bit lookup table in the first two vector inputs (most significant bits come from the first input) and a 16-vector of 4-bit index values in the third vector input, look up each index in the table and produce a 16-vector of 8-bit output values. Store the result into a vector register.

Syntax / Encoding

V_PERM_PK16_B8_U4 VDST, SRC0, SRC1, SRC2, LITERAL | ENC_VOP3 op=579 [CDNA5]; VOP3_INST_LITERAL op=579 [CDNA5]

Binary Encodings (2)

WidthFormatBit PatternMask / Match
64ENC_VOP3xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1101011001000011xxxxxxxxxxxxxxxx0x00000000ffff0000 / 0x00000000d6430000
96VOP3_INST_LITERALxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1101011001000011xxxxxxxxxxxxxxxx0x0000000000000000ffff0000 / 0x0000000000000000d6430000

Operands

NameDescription
VDST
SRC0
SRC1
SRC2
LITERAL