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

AMD VOP2_VOP_SDWA

T1 amd-gpu encoding_format encoding_format
AMD GPU 64-bit Binary Microcode Format: VOP2_VOP_SDWA
SourceAMD Official Machine-Readable GPU ISA XMLs (RDNA & CDNA) (amd_gpu_isa)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeCDNA1, CDNA2, CDNA3, CDNA4, RDNA1, RDNA2
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/

Summary

Official AMD 64-bit instruction encoding format VOP2_VOP_SDWA across CDNA1, CDNA2, CDNA3, CDNA4, RDNA1, RDNA2.

Syntax / Encoding

VOP2_VOP_SDWA (64b) mask=0x00000000fe000000 match=0x0000000000000000

Binary Encodings (1)

WidthFormatBit PatternMask / Match
64VOP2_VOP_SDWAxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx0000000xxxxxxxxxxxxxxxxxxxxxxxxx0x00000000fe000000 / 0x0000000000000000

Bitfields (20)

BitsFieldDescription
63S1If 0 vsrc1 in VOP2/VOPC is VGPR address. If 1 vsrc1 is SGPR or built in inline constant.
61SRC1_ABSIf true, take the floating-point absolute value of src1.
60SRC1_NEGIf true, take the floating-point negation of src1.
59SRC1_SEXTIf true, sign-extend data for src1. If false, zero-extend.
58:56SRC1_SELSource data select for src1.
55S0If 0 vsrc0 is VGPR address. If 1 vsrc0 is SGPR or built in inline constant.
53SRC0_ABSIf true, take the floating-point absolute value of src0.
52SRC0_NEGIf true, take the floating-point negation of src0.
51SRC0_SEXTIf true, sign-extend data for src0. If false, zero-extend.
50:48SRC0_SELSource data select for src0.
47:46OMODOutput modifier for instruction.
45CLAMPIf true, clamp output.
44:43DST_UNUSEDFormat for unused destination bits.
42:40DST_SELDestination data select.
39:32VSRC0VGPR address for src0.
31ENCODINGEncoding.
30:25OPOpcode.
24:17VDSTDestination for instruction.
16:9VSRC1Second operand for instruction.
8:0SRC0First operand for instruction.