Vector instruction selection for digital signal processors using program synthesis
Maaz Bin Safeer Ahmad, Alexander J. Root, Andrew Adams, Shoaib Kamil, Alvin Cheung
摘要
Instruction selection, whereby input code represented in an intermediate representation is translated into executable instructions from the target platform, is often the most target-dependent component in optimizing compilers. Current approaches include pattern matching, which is brittle and tedious to design, or search-based methods, which are limited by scalability of the search algorithm. In this paper, we propose a new algorithm that first abstracts the target platform instructions into high-level uber-instructions, with each uber-instruction unifying multiple concrete instructions from the target platform. Program synthesis is used to lift input code sequences into semantically equivalent sequences of uber-instructions and then to lower from uber-instructions to machine code. Using 21 real-world benchmarks, we show that our synthesis-based instruction selection algorithm can generate instruction sequences for a hardware target, with the synthesized code performing up to 2.1x faster as compared to code generated by a professionally-developed optimizing compiler for the same platform.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 10 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Lightweight, Modular Verification for WebAssembly-to-Native Instruction Selection 引用了 Vectorization for digital signal processors via equality saturation
- Minotaur: A SIMD-Oriented Synthesizing Superoptimizer 引用了 VeGen: a vectorizer generator for SIMD and beyond
- Minotaur: A SIMD-Oriented Synthesizing Superoptimizer 引用了 Vectorization for digital signal processors via equality saturation
- Automatic Generation of Vectorizing Compilers for Customizable Digital Signal Processors 引用了 VeGen: a vectorizer generator for SIMD and beyond
- Automatic Generation of Vectorizing Compilers for Customizable Digital Signal Processors 引用了 Vectorization for digital signal processors via equality saturation
- Exo 2: Growing a Scheduling Language 引用了 Hydride: A Retargetable and Extensible Synthesis-based Compiler for Modern Hardware Architectures
- Hydride: A Retargetable and Extensible Synthesis-based Compiler for Modern Hardware Architectures 引用了 Minotaur: A SIMD-Oriented Synthesizing Superoptimizer
- Hydride: A Retargetable and Extensible Synthesis-based Compiler for Modern Hardware Architectures 引用了 Automatic Generation of Vectorizing Compilers for Customizable Digital Signal Processors
- Hydride: A Retargetable and Extensible Synthesis-based Compiler for Modern Hardware Architectures 引用了 VeGen: a vectorizer generator for SIMD and beyond
- Hydride: A Retargetable and Extensible Synthesis-based Compiler for Modern Hardware Architectures 引用了 Vectorization for digital signal processors via equality saturation
引用它的顶会 Paper10
- Automatic Generation of Vectorizing Compilers for Customizable Digital Signal ProcessorsSamuel Thomas, James BornholtASPLOS 2024 · 16 次引用
- Minotaur: A SIMD-Oriented Synthesizing SuperoptimizerZhengyang Liu, Stefan Mada, John RegehrOOPSLA 2024 · 9 次引用
- Hydride: A Retargetable and Extensible Synthesis-based Compiler for Modern Hardware ArchitecturesAkash Kothari, Abdul Rafae Noor, Muchen Xu, Hassam Uddin 等ASPLOS 2024 · 8 次引用
- Lightweight, Modular Verification for WebAssembly-to-Native Instruction SelectionAlexa VanHattum, Monica Pardeshi, Chris Fallin, Adrian Sampson 等ASPLOS 2024 · 7 次引用
- Exo 2: Growing a Scheduling LanguageYuka Ikarashi, Kevin Qian, Samir Droubi, Alex Reinking 等ASPLOS 2025 · 7 次引用
它引用的 Paper2
相关 Paper
- MISAAL: Synthesis-Based Automatic Generation of Efficient and Retargetable Semantics-Driven OptimizationsAbdul Rafae Noor, Dhruv Baronia, Akash Kothari, Muchen Xu 等PLDI 2025 · 2 次引用
- SuperStack: Superoptimization of Stack-Bytecode via Greedy, Constraint-Based, and SAT TechniquesElvira Albert, Maria Garcia de la Banda, Alejandro Hernández-Cerezo, Alexey Ignatiev 等PLDI 2024 · 9 次引用
- SEER: Super-Optimization Explorer for High-Level Synthesis using E-graph RewritingJianyi Cheng, Samuel Coward, Lorenzo Chelini, Rafael Barbalho 等ASPLOS 2024 · 18 次引用
- HeteroGen: transpiling C to heterogeneous HLS code with automated test generation and program repairQian Zhang, Jiyuan Wang, Guoqing Harry Xu, Miryung KimASPLOS 2022 · 14 次引用
- Finding Reusable Instructions via E-Graph Anti-UnificationYouwei Xiao, Chenyun Yin, Yitian Sun, Yuyang Zou 等ASPLOS 2026
