{"slug": "learning-exact-nvidia-sass-encoders-with-mathbb-f-2-linear-algebra", "title": "Learning Exact NVIDIA SASS Encoders with $\\mathbb{F}_2$ Linear Algebra", "summary": "Researchers introduced F2Asm, the first open-source NVIDIA SASS assembler to support Rubin SM107, which learns exact 128-bit SASS instruction encoders as vector-valued affine maps over F2 using Gaussian elimination. Trained on 3,225 CUBINs from NVIDIA and third-party libraries, CUDA 13.3, and CUDA 13.4 Developer Preview, F2Asm reassembles disassembled SASS with exact matches in round-trip tests.", "body_md": "arXiv:2608.20532v1 Announce Type: new\nAbstract: 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 F2 and the first open-source NVIDIA SASS assembler to support Rubin SM107. F2Asm uses Gaussian elimination over F2 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 the disassembled SASS for each CUBIN, and all compared executable text sections match the originals exactly.", "url": "https://wpnews.pro/news/learning-exact-nvidia-sass-encoders-with-mathbb-f-2-linear-algebra", "canonical_source": "https://arxiv.org/abs/2608.20532", "published_at": "2026-08-24 04:00:00+00:00", "updated_at": "2026-08-24 04:15:27.751900+00:00", "lang": "en", "topics": ["machine-learning", "developer-tools"], "entities": ["NVIDIA", "F2Asm", "Hopper SM90", "Blackwell SM100", "Rubin SM107", "CUDA 13.3", "CUDA 13.4"], "alternates": {"html": "https://wpnews.pro/news/learning-exact-nvidia-sass-encoders-with-mathbb-f-2-linear-algebra", "markdown": "https://wpnews.pro/news/learning-exact-nvidia-sass-encoders-with-mathbb-f-2-linear-algebra.md", "text": "https://wpnews.pro/news/learning-exact-nvidia-sass-encoders-with-mathbb-f-2-linear-algebra.txt", "jsonld": "https://wpnews.pro/news/learning-exact-nvidia-sass-encoders-with-mathbb-f-2-linear-algebra.jsonld"}}