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

V_MQSAD_U32_U8

T1 amd-gpu simd insn
AMD GPU V_MQSAD_U32_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_MSAD_U8 operation four times using different slices of the first array, all entries of the second array and each entry of the third array. Pack each 32-bit value 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 4-entry array of unsigned…

Syntax / Encoding

V_MQSAD_U32_U8 VDST, SRC0, SRC1, SRC2, LITERAL | ENC_VOP3 op=487 [CDNA1,CDNA2,CDNA3,CDNA4]; ENC_VOP3 op=573 [CDNA5,RDNA3,RDNA3_5,RDNA4]; VOP3_INST_LITERAL op=573 [CDNA5,RDNA3,RDNA3_5,RDNA4]

Binary Encodings (5)

WidthFormatBit PatternMask / Match
64ENC_VOP3xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1101000111100111xxxxxxxxxxxxxxxx0x00000000ffff0000 / 0x00000000d1e70000
64ENC_VOP3xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1101011000111101xxxxxxxxxxxxxxxx0x00000000ffff0000 / 0x00000000d63d0000
96VOP3_INST_LITERALxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1101011000111101xxxxxxxxxxxxxxxx0x0000000000000000ffff0000 / 0x0000000000000000d63d0000
64ENC_VOP3xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1101010101110101xxxxxxxxxxxxxxxx0x00000000ffff0000 / 0x00000000d5750000
96VOP3_INST_LITERALxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1101010101110101xxxxxxxxxxxxxxxx0x0000000000000000ffff0000 / 0x0000000000000000d5750000

Operands

NameDescription
VDST
SRC0
SRC1
SRC2
LITERAL