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

atomic.dec

T2 adreno-gpu atomic insn
Qualcomm Adreno ir3 CAT6: atomic.dec
SourceQualcomm Adreno ir3 GPU ISA Specification (Mesa Freedreno) (adreno_ir3_isa)
Reliability TierT2 — Compiler & Kernel Reference
ISA / Silicon ScopeQualcomm Adreno ir3 (a300+)
Qualcomm Adreno a3xx / a4xx / a5xx / a6xx / a7xx / a8xx GPUs
License & VersionMIT
mesa/main
Upstreamhttps://gitlab.freedesktop.org/mesa/mesa/-/tree/main/src/freedreno/isa
Privilegeuser
Extensionsir3-CAT6, a300+

Summary

Base for atomic instructions (I think mostly a4xx+, as a3xx didn't have real image/ssbo.. it was all just global). Still used as of a6xx for local. NOTE that existing disasm and asm parser expect atomic inc/dec to still have an extra src. For now, match that.

Syntax / Encoding

{SY}{JP}{NAME}.{TYPED}.{D}d.{TYPE}.{TYPE_SIZE}.l {DST}, l[{SRC1}], {SRC2}

Binary Encodings (1)

WidthFormatBit PatternMask / Match
64ir3-CAT6110xx1010000xxx00000000xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx0000000010xe7f1fe00000001ff / 0xc500000000000001

Operands

NameDescription
DST
SRC2
SRC1