Studying NVIDIA SASS codegen with agents: PTX-to-SASS compilation is full of surprises
austinvhuang · x · 2026-11-24
Developer gaunernst shared a weekend analysis of NVIDIA GPU SASS codegen, made tractable with AI agents: PTX is mostly documented, but SASS is what GPUs actually run, and the PTX→SASS lowering is often unexpected.
He published a PTX-to-SASS comparison of cp.async / LDGSTS (the attached image shows how LDGSTS.E.BYPASS.128 compiles under different src-size and predicate cases), arguing that understanding SASS codegen informs better kernel writing — i.e., massaging the compiler. More instruction analyses to follow.
More from Infra
- Microsoft AI open-sources details of Rocket, its in-house RL infra for weeks-long runs on thousands of GPUs — luisdans · 2026-11-24
- True On-Policy RL: SGLang and Miles achieve bit-exact rollout and training at 0.90-0.93x throughput on 64 H200s — ying11231 · 2026-11-24
- Bajarin: AI compute demand must be judged from first principles—workloads unlike any other software — BenBajarin · 2026-11-24
- Nebius hands out $25 GPU credits: an afternoon on a B300 or a day on an H100 at spot prices — testingcatalog · 2026-11-24
- Smoke alarm from construction dust killed cooling at Jane Street, racks hit 143°F — JeremyCMorgan · 2026-11-24
- Report: Anthropic's compute demand so huge SpaceX must finish new data centers by October — BenBajarin · 2026-11-24