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_B64

T1 amd-gpu bitmanip insn
AMD GPU S_ANDN2_SAVEEXEC_B64 (ENC_SOP1, SOP1_INST_LITERAL)
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/
Privilegeuser
ExtensionsCDNA1, CDNA2, CDNA3, CDNA4, RDNA1, 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_B64 SDST, SSRC0, LITERAL | ENC_SOP1 op=35 [CDNA1,CDNA2,CDNA3,CDNA4]; SOP1_INST_LITERAL op=35 [CDNA1,CDNA2,CDNA3,CDNA4]; ENC_SOP1 op=39 [RDNA1,RDNA2]

Binary Encodings (4)

WidthFormatBit PatternMask / Match
32ENC_SOP1101111101xxxxxxx00100011xxxxxxxx0xff80ff00 / 0xbe802300
64SOP1_INST_LITERALxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx101111101xxxxxxx00100011xxxxxxxx0x00000000ff80ff00 / 0x00000000be802300
32ENC_SOP1101111101xxxxxxx00100111xxxxxxxx0xff80ff00 / 0xbe802700
64SOP1_INST_LITERALxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx101111101xxxxxxx00100111xxxxxxxx0x00000000ff80ff00 / 0x00000000be802700

Operands

NameDescription
SDST
SSRC0
LITERAL