ATOM
mesa_nouveau_nak_sass)NVIDIA Volta (SM70), Turing (SM75), Ampere (SM80/86), Ada (SM89), Hopper (SM90), Blackwell (SM100/SM120)
mesa/main
userMaxwell/Pascal (SM50–SM61), Volta/Turing (SM70–SM75), Ampere/Ada/Hopper (SM80–SM90), Blackwell (SM100/SM120)Summary
NVIDIA native GPU SASS instruction ATOM (Mesa Nouveau NAK OpAtom). SM70+ opcode(s): 0x38c, 0x38d, 0x3a8, 0x3a9. Modifiers: addr, uniform_address, cmpr, data, atom_op, atom_type, addr_offset, addr_stride. Supported across Maxwell/Pascal (SM50–SM61), Volta/Turing (SM70–SM75), Ampere/Ada/Hopper (SM80–SM90).
Syntax / Encoding
ATOM dst
Cross-Chip Latency & Throughput (3 cores)
| Microarchitecture | Latency (cycles) | Recip. TP | uops | Ports | Source |
|---|---|---|---|---|---|
| NVIDIA Ampere/Ada (SM80/SM89) | 1 | — | 1 | DecoupledAgu | mesa_nouveau_nak_sass |
| NVIDIA Blackwell (SM100/SM120) | 1 | — | 1 | DecoupledAgu | mesa_nouveau_nak_sass |
| NVIDIA Turing (SM75) | 1 | — | 1 | Decoupled | mesa_nouveau_nak_sass |
Binary Encodings (4)
| Width | Format | Bit Pattern | Mask / Match |
|---|---|---|---|
| 128 | NVIDIA SM70+ 128-bit SASS | | 0x00000FFF / 0x38c |
| 128 | NVIDIA SM70+ 128-bit SASS | | 0x00000FFF / 0x38d |
| 128 | NVIDIA SM70+ 128-bit SASS | | 0x00000FFF / 0x3a8 |
| 128 | NVIDIA SM70+ 128-bit SASS | | 0x00000FFF / 0x3a9 |
Operands
| Name | Description |
|---|---|
dst | NAK IR field `dst: Dst` |
addr | NAK IR field `addr: Src` |
uniform_address | NAK IR field `uniform_address: Src` |
cmpr | NAK IR field `cmpr: Src` |
data | NAK IR field `data: Src` |
atom_op | NAK IR field `atom_op: AtomOp` |
atom_type | NAK IR field `atom_type: AtomType` |
addr_offset | NAK IR field `addr_offset: i32` |
addr_stride | NAK IR field `addr_stride: OffsetStride` |
mem_space | NAK IR field `mem_space: MemSpace` |
mem_order | NAK IR field `mem_order: MemOrder` |
mem_eviction_priority | NAK IR field `mem_eviction_priority: MemEvictionPriority` |