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

V_QSAD_PK_U16_U8

T1 amd-gpu simd insn
AMD GPU V_QSAD_PK_U16_U8 (ENC_VOP3, VOP3_INST_LITERAL)
SourceAMD Official Machine-Readable GPU ISA XMLs (RDNA & CDNA) (amd_gpu_isa)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeCDNA1, CDNA2, CDNA3, CDNA4, CDNA5, RDNA1, RDNA2, RDNA3, RDNA3_5, RDNA4
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
ExtensionsCDNA1, CDNA2, CDNA3, CDNA4, CDNA5, RDNA1, RDNA2, RDNA3, RDNA3_5, RDNA4, VALU

Summary

Perform the V_SAD_U8 operation four times using different slices of the first array, all entries of the second array and each entry of the third array. Truncate each result to 16 bits, pack the values into a 4-entry array and store the array into a vector register. The first input is an 8-entry array of unsigned 8-bit integers, the second input is a 4-entry array of unsigned 8-bit integers and the third input is a…

Syntax / Encoding

V_QSAD_PK_U16_U8 VDST, SRC0, SRC1, SRC2, LITERAL | ENC_VOP3 op=485 [CDNA1,CDNA2,CDNA3,CDNA4]; ENC_VOP3 op=570 [CDNA5,RDNA3,RDNA3_5,RDNA4]; VOP3_INST_LITERAL op=570 [CDNA5,RDNA3,RDNA3_5,RDNA4]

Binary Encodings (5)

WidthFormatBit PatternMask / Match
64ENC_VOP3xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1101000111100101xxxxxxxxxxxxxxxx0x00000000ffff0000 / 0x00000000d1e50000
64ENC_VOP3xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1101011000111010xxxxxxxxxxxxxxxx0x00000000ffff0000 / 0x00000000d63a0000
96VOP3_INST_LITERALxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1101011000111010xxxxxxxxxxxxxxxx0x0000000000000000ffff0000 / 0x0000000000000000d63a0000
64ENC_VOP3xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1101010101110010xxxxxxxxxxxxxxxx0x00000000ffff0000 / 0x00000000d5720000
96VOP3_INST_LITERALxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1101010101110010xxxxxxxxxxxxxxxx0x0000000000000000ffff0000 / 0x0000000000000000d5720000

Operands

NameDescription
VDST
SRC0
SRC1
SRC2
LITERAL