ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 1,823 microarchs · 16,083 chips · 105 sources
Arch:
Tier:

AMD ENC_SMEM

T1 amd-gpu encoding_format encoding_format
AMD GPU 64-bit Binary Microcode Format: ENC_SMEM
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/

Summary

Official AMD 64-bit instruction encoding format ENC_SMEM across CDNA1, CDNA2, CDNA3, CDNA4, CDNA5, RDNA1, RDNA2, RDNA3, RDNA3_5, RDNA4.

Syntax / Encoding

ENC_SMEM (64b) mask=0x00000000fffc0000 match=0x00000000c0000000

Binary Encodings (1)

WidthFormatBit PatternMask / Match
64ENC_SMEMxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx11000000000000xxxxxxxxxxxxxxxxxx0x00000000fffc0000 / 0x00000000c0000000

Bitfields (10)

BitsFieldDescription
63:57SOFFSETIf SOFFSET_EN = 1: Specifies an SGPR address that supplies an UNSIGNED BYTE offset aligned to one DWORD for the memory operation (see enumeration).
52:32OFFSETIf IMM = 0 and SOFFSET_EN = 0: Specifies an SGPR address that supplies an UNSIGNED BYTE offset aligned to one DWORD for the memory operation (see enumeration).
31:26ENCODINGEncoding.
25:18OPOpcode.
17IMMBoolean. Specifies whether OFFSET field specifies a SGPR (false) or an inline constant offset (true).
16GLCIf set, operation is globally coherent.
15NVIf set, operation operates on non-volatile data.
14SOFFSET_ENIf set, SOFFSET field is used.
12:6SDATADestination for instruction.
5:0SBASEBits [6:1] of an aligned pair of SGPRs specifying {size[16], base[48]}, where base and size are in dword units. The low-order bits are in the first SGPR.