← blackwellsmatter.com / #005 · 2026-12-05
note #005 · sm120 microarchitecture rtx pro 6000 @ 1680 mhz · rtx 5090

The Hidden SM120 ALU Subunit Map: Why IMAD | SHF Hits 0.94 While ncu Reads 36%

empirical SMSP port probing via cubit · Class A / B / S overlap · 8–32 op integration window · HMMA × ALU quadrants · 100-op chain latencies

0.94
IMAD | SHF ISSUE
near dual-rate per SMSP
0.50
IMAD | HFMA2
FP16 shares INT32 math!
0.02%
HMMA Y=1 SKEW
down from 26% intra-quad
4.22 cy
ALU CHAIN FLOOR
5.91 IMAD.WIDE · 8.36 MUFU

01 The Counter Illusion in Nsight Compute

When you write hand-scheduled Blackwell SASS kernels for quantized LLM decode (EXL3 / 2-bit / 3-bit MUL1 trellis GEMVs in vLLM-Moet) or 256-bit modular arithmetic, you quickly run into a baffling Nsight Compute signature: every per-subpipe utilization counter sits comfortably below 36%, yet warp stalls scream math_pipe_throttle and throughput hits a brick wall.

The reason is simple: NVIDIA's ISA pipe taxonomy (INT_ARITH vs FP_ARITH vs ALU) does not match the physical execution ports inside an SM120 sub-partition (SMSP). To map what actually overlaps in silicon — and what silently contends — we wrote self-contained bare-metal SASS probes in cubit on a locked-clock RTX PRO 6000 Blackwell (1680 MHz, 1 CTA of 16 warps on 1 SM, deterministic ×3, fresh process per variant).

The critical detail in the probe methodology is pairing classes on the same scheduler via warpid & 0x4 (giving each of the 4 SMSP schedulers 2 warps of Class X + 2 warps of Class Y, each issuing 512 back-to-back ops with 8-register ILP rotation at S01, timed with SR_CLOCKLO). Pairing on the scheduler isolates physical execution-unit sharing from cross-quadrant arbitration.

02 Physical Port Topology of One SM120 SMSP

                    ┌─────────────────────────────────────────────────────┐
                    │         SM120 SMSP Warp Scheduler (1 of 4)          │
                    │     4 resident warps · in-order issue · 8-32 op     │
                    │             class-mix integration window            │
                    └───────┬──────────────────┬──────────────────┬───────┘
                            │                  │                  │
              ┌─────────────▼──────┐   ┌───────▼────────┐   ┌─────▼────────────┐
              │  CLASS A ("MATH")  │   │ PORT B (LOGIC) │   │   TENSOR PIPE    │
              │                    │   │                │   │  (independent)   │
              │  IMAD   · IDP.4A   │   │  LOP3  · PRMT  │   │  HMMA.16816.F32  │
              │  HFMA2  · HADD2    │   │                │   │  QMMA.16832.F32  │
              │  FFMA*  (shared    │   │  ┌──────────┐  │   │  63.83 cy/warp   │
              │   16-core/RF port) │   │  │ CLASS S  │  │   │  (full F32 rate  │
              └────────────────────┘   │  │ SHF·SGXT │  │   │   on PRO 6000)   │
                                       │  └──────────┘  │   └──────────────────┘
                                       └────────────────┘
  Measured combined issue rate / scheduler (4w/SMSP, 1680 MHz):
    A alone / A|A / B|B / B|S  ────────►  0.50  █████░░░░░   (saturated single port)
    A | B  (IMAD | LOP3/PRMT)  ────────►  0.66  ██████▋░░░   (partial overlap)
    A | S  (IMAD | SHF/SGXT)   ────────►  0.94  █████████▍   (near dual-issue!)
    A | Tensor (IMAD | HMMA)   ────────►  independent domain (4.69 / 32.0 control)
SM120 ALU Subunit Map and HMMA Quadrant Sharing
Figure 1 — SM120 Silicon Port Map (RTX PRO 6000 @ 1680 MHz): (A) Pairwise and 3-class ALU issue ceilings per scheduler. (B) Cross-quadrant vs co-resident HMMA × EXL3-ALU interference and the Y=1 yield-flag skew collapse.
Scheduler Pairing (16w, 4w/SMSP) instr / cyc / sched Silicon Verdict
Any single class (IMAD, IDP.4A, HFMA2, HADD2, LOP3, PRMT, SHF, SGXT) 0.50 Hard ceiling; single warp w/ 8-way ILP = 2.13 cy/instr (0.47/cyc).
Within Class A: IMAD | IDP, IMAD | HFMA2, IMAD | HADD2 0.50 FP16 ALU shares the integer multiply unit — zero overlap.
Within Port B/S: LOP3 | PRMT, LOP3 | SHF, PRMT | SHF, SGXT | LOP3/PRMT 0.50 LOP3 ≡ PRMT on one port; SHF/SGXT also share B against B.
Class A | B (IMAD | LOP3, IMAD | PRMT, HADD2 | LOP3) 0.66 Moderate co-issue. Keep LOP3 + PRMT ≤ 33% of the stream.
Class A | S (IMAD | SHF, IMAD | SGXT) 0.94 Only near dual-rate ALU pair on SM120. Shift/extract is almost free beside A.
3-class stream: 2:1 B-heavy (33:0:67) → ucb2 (56:19:25) → ucb3 (48:36:17) 0.576 → 0.745 Real 3-class mixes beat pairwise interpolation; nvcc cb2 sustains 0.74.

03 Three Surprising Corollaries in Real Kernels

3.1 Why FFMA + IMAD.WIDE Fails, and 3-Source Ops Hit the RF Read-Port Wall

During our 25.36 GH/s secp256k1 campaign, we tried offloading 256-bit arithmetic onto FP32 FFMA in parallel with integer IMAD.WIDE. Silicon rejected the fantasy immediately: every interleaved FFMA cost +2.00 cy, and running a heterogeneous FFMA warp beside an IMAD.WIDE warp slowed the partner MulMod256 from 722 → 1,152 cy (0.807× net). They share the same 16 FP32/INT32 cores and register-file collector.

The exact same RF read-port ceiling surfaced in our EXL3 decode probe (clockbench_exl3, w=8): 2-source/lightweight pairs SGXT + IMAD and PRMT + IMAD run in full parallel at 16.02 cy (0.996× max), while 3-source IDP.4A or HFMA2 paired with SGXT / PRMT / IADD3 slow to 23.7–24.1 cy (1.50× max, bounded by 3-source register-file read ports).

3.2 Two Surgical Op-Swaps That Beat nvcc

3.3 The 8–32 Op Integration Window (Stop Shuffling Instructions!)

A classic GPU micro-optimization myth is alternating instruction classes op-by-op to "keep both pipes fed." Our SM120 block-length sweep disproved it:

block size    1-op interleave    8-op blocks    32-op blocks    128-op blocks
cyc/instr          6.11             6.17            6.54             7.40
verdict        (baseline)       ≈ identical      partial drop    relief lost

The SMSP hardware integrates class mix across an ~8–32 instruction window. Trying to interleave tiles op-by-op on our production ucb2 GEMV actually regressed wall time by +0.6 µs (SHFL prefetch) and +2.0 µs (full interleave). Why? Because SASS issue is strictly in-order: placing a scoreboard wait in the middle of a stream blocks the entire warp even when independent instructions sit behind it. Keep scoreboard waits clustered at phase heads unless you hoist producers many slices ahead.

04 Quadrant Interference & The HMMA Y=1 Skew Collapse

When mixing tensor warps (HMMA.16816.F32) and ALU dequantization warps (EXL3-ALU) inside one warp-specialized CTA (like GLM-5.3's x4c-ws8-v3: 8 MMA + 8 DECODE warps), warp-to-quadrant assignment (wid % 4) dominates tail latency:

Quadrant placement (wid % 4)             Combined S/W   Warp Completion Skew
──────────────────────────────────────── ────────────   ───────────────────────
Cross-quadrant: (0,1), (0,2), (0,3)      2.000          0.0%  (1.000x / 1.000x)
Same-quadrant:  (0,4) phase-separated    1.775          ~12%  (co-resident only)
Warp-spec 8+4:  HMMA with Y=0            1.78           26.0% (3.54M .. 4.48M cy)
Warp-spec 8+4:  HMMA with Y=1 (ALU Y=0)  1.82           0.02% (4.437M .. 4.438M cy)

One single control bit — setting the SASS yield hint Y=1 on HMMA while keeping Y=0 on the co-resident ALU decode warps (setting Y=1 on ALU hurts HMMA!) — collapsed a 26% intra-quadrant completion spread down to 0.02% and lifted total CTA throughput. Note also that on RTX PRO 6000 (workstation silicon), HMMA.16816.F32 runs at full rate (63.83 cy/warp, identical to HMMA.16816.F16 and QMMA.16832.F32) — unlike GeForce consumer SKUs where FP32 accumulation is half-rate.

05 Tensor-Core Pipeline Overlap on RTX 5090 (HMMA × DMMA / QMMA.SF / OMMA.SF)

ALU subunits aren't the only pipes with hidden sharing rules — Blackwell's tensor-core families themselves split across distinct hardware pipelines. We measured split-warp (warps 0–3 vs 4–7) and same-warp contention across 262,144 MMA ops per active warp on two independent RTX 5090 GPUs (driver 610.43.02, CUDA 13.0, 170×256 grid, 7 repeats, exact 32-lane accumulator verification):

SM120 Tensor-Core Overlap (2× RTX 5090, 262k MMA/warp, overlap = 1.0 full / 0.0 serial):
  HMMA + DMMA    (18:1 balanced)  split 0.997  ██████████   same-warp 0.880  (independent!)
  HMMA + OMMA.SF (block-scaled)   split 0.698  ███████░░░   same-warp 0.675  (partial overlap)
  HMMA + QMMA.SF (block-scaled)   split 0.697  ███████░░░   same-warp 0.674  (partial overlap)
  HMMA + QMMA    (plain FP8)      split 0.025  ░░░░░░░░░░   same-warp 0.000  (100% serialized)

06 Reference: SM120 Measured Serial Chain Latencies (RTX 5090)

Measured directly on RTX 5090 (sm120_hw_latencies.json, 100-instruction dependent chains, median cycles ÷ 100):

Latency Tier Measured (cy/op) Instructions (RTX 5090, 100-op chain)
Core ALU / FP32 / FP16 4.22 IADD3, IMAD, IMAD.SHL, LEA, LOP3, PRMT, SHF, SGXT, BMSK, SEL, MOV, IABS, VIMNMX, S2R, FFMA, FADD, FMUL, FMNMX, HFMA2, HADD2, HMUL2
Wide / High Multiply 5.63 – 5.91 IMAD.HI (5.63 cy), IMAD.WIDE (5.91 cy)
SFU / Bit / Convert 8.36 MUFU.{RCP,RSQ,SQRT,EX2,LG2,SIN,COS,TANH}, F2F, F2I, FRND, POPC, BREV, FLO
FP64 (GB202 1:64) 15.61 – 18.37 DFMA (15.61 cy), DADD (18.33 cy), DMUL (18.37 cy)
Reproduce on Your Own Card

The full probe notes and quadrant benchmarks live in vLLM-Moet/docs/sm120-alu-subunits.md and assemble cleanly with cubit.

← all notes #004 undocumented gb202 silicon →