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

S_ANDN2_SAVEEXEC_B32

T1 amd-gpu bitmanip insn
AMD GPU S_ANDN2_SAVEEXEC_B32 (ENC_SOP1, SOP1_INST_LITERAL)
SourceAMD Official Machine-Readable GPU ISA XMLs (RDNA & CDNA) (amd_gpu_isa)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeRDNA1, 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/
Privilegeuser
ExtensionsRDNA1, RDNA2, SALU

Summary

Calculate bitwise AND on the scalar input and the negation of the EXEC mask, store the calculated result into the EXEC mask, set SCC iff the calculated result is nonzero and store the original value of the EXEC mask into the scalar destination register.

Syntax / Encoding

S_ANDN2_SAVEEXEC_B32 SDST, SSRC0, LITERAL | ENC_SOP1 op=63 [RDNA1,RDNA2]; SOP1_INST_LITERAL op=63 [RDNA1,RDNA2]

Binary Encodings (2)

WidthFormatBit PatternMask / Match
32ENC_SOP1101111101xxxxxxx00111111xxxxxxxx0xff80ff00 / 0xbe803f00
64SOP1_INST_LITERALxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx101111101xxxxxxx00111111xxxxxxxx0x00000000ff80ff00 / 0x00000000be803f00

Operands

NameDescription
SDST
SSRC0
LITERAL