mlsanityData to 14 Oct 2026

Learning Exact NVIDIA SASS Encoders with mathbbF2 Linear Algebra

arXiv 2608.20532 ↗First posted 20 Aug 2026cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

NVIDIA provides a SASS disassembler but no public SASS assembler for recent data-center GPUs, limiting controlled machine-code rewriting. We present F2Asm, which learns exact 128-bit SASS encoders from paired disassembly and original CUBIN instruction words. To our knowledge, F2Asm is the first system to learn SASS instruction encoders as vector-valued affine maps over mathbbF2 and the first open-source NVIDIA SASS assembler to support Rubin SM107. F2Asm uses Gaussian elimination over mathbbF2 to incrementally build a compact basis, detect inconsistencies, and reject inputs outside the learned span. F2Asm separates target-specific control bits, relocation rules, and CUBIN metadata from its learning algorithm. We train encoders for Hopper SM90/SM90a, Blackwell SM100, and Rubin SM107 using 3,225 CUBINs from pinned NVIDIA and third-party production libraries, CUDA 13.3 packages, and CUDA 13.4 Developer Preview archives. In round-trip tests, F2Asm reassembles each CUBIN's disassembled SASS, and all compared executable text sections match the originals exactly. Joint training with F2Asm yields one shared encoder for five Blackwell SM targets and another for three Rubin SM targets, providing strong evidence of a common SASS encoding scheme for instructions shared within each family. Continual training extends the Rubin encoder to all 17,159 previously unsupported cuTile and GROMACS queries with 1,504 additional basis rows, matching the derived lower bound.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 7 of its 24 references that are in the map. First posted on arXiv 20 Aug 2026.

Builds on

7 of 24 references.

References · 7

  1. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  2. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
  3. 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 519
  4. 2019Dissecting the NVidia Turing T4 GPU via Microbenchmarkingcited by 15
  5. 2026Optimizing CUDA like a Human: Micro-Profiling Tools as Expert Surrogates for LLM-Based GPU Kernel Optimizationcited by 4
  6. 2025CuAsmRL: Optimizing GPU SASS Schedules via Deep Reinforcement Learningcited by 3
  7. 2015Tackling Exascale Software Challenges in Molecular Dynamics Simulations with GROMACScited by 2

Built on by

Not cited yet.