Lune

ASPLOS2024Top-tier venue

Automatic Generation of Vectorizing Compilers for Customizable Digital Signal Processors

Samuel Thomas, James Bornholt

Abstract

Embedded applications extract the best power-performance trade-off from digital signal processors (DSPs) by making extensive use of vectorized execution. Rather than handwriting the many customized kernels these applications use, DSP engineers rely on auto-vectorizing compilers to quickly produce effective code. Building these compilers is a large and error-prone investment, and each new DSP architecture or application-specific ISA customization must repeat this effort to derive a new high-performance compiler.

We present Isaria, a framework for automatically generating vectorizing compilers for DSP architectures. Isaria uses equality saturation to search for vectorized DSP code using a system of rewrite rules. Rather than hand-crafting these rules, Isaria automatically synthesizes sound rewrite rules from an ISA specification, discovers phase structure within these rules that improve compilation performance, and schedules their application at compile time while pruning intermediate states of the search. We use Isaria to generate a compiler for an industrial DSP architecture, and show that the resulting kernels outperform existing DSP libraries by up to 6.9× and are competitive with those generated by expert-built compilers. We also demonstrate how Isaria can speed up exploration of new ISA customizations by automatically generating a high-quality vectorizing compiler.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

7 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Alive2: bounded translation validation for LLVM cites egg: Fast and extensible equality saturation
  • HeuriGym: An Agentic Benchmark for LLM-Crafted Heuristics in Combinatorial Optimization cites SmoothE: Differentiable E-Graph Extraction
  • HeuriGym: An Agentic Benchmark for LLM-Crafted Heuristics in Combinatorial Optimization cites egg: Fast and extensible equality saturation
  • HeuriGym: An Agentic Benchmark for LLM-Crafted Heuristics in Combinatorial Optimization cites Vectorization for digital signal processors via equality saturation
  • MISAAL: Synthesis-Based Automatic Generation of Efficient and Retargetable Semantics-Driven Optimizations cites Vectorization for digital signal processors via equality saturation
  • MISAAL: Synthesis-Based Automatic Generation of Efficient and Retargetable Semantics-Driven Optimizations cites Hydride: A Retargetable and Extensible Synthesis-based Compiler for Modern Hardware Architectures
  • SmoothE: Differentiable E-Graph Extraction cites egg: Fast and extensible equality saturation
  • SmoothE: Differentiable E-Graph Extraction cites Vectorization for digital signal processors via equality saturation
  • egg: Fast and extensible equality saturation cites Synthesizing structured CAD models with equality saturation and inverse transformations
  • Vectorization for digital signal processors via equality saturation cites Synthesizing structured CAD models with equality saturation and inverse transformations
  • Hydride: A Retargetable and Extensible Synthesis-based Compiler for Modern Hardware Architectures cites VeGen: a vectorizer generator for SIMD and beyond
  • Hydride: A Retargetable and Extensible Synthesis-based Compiler for Modern Hardware Architectures cites Vectorization for digital signal processors via equality saturation
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers7

  1. Fast On-device LLM Inference with NPUsDaliang Xu, Hao Zhang, Liming Yang, Ruiqi Liu et al.ASPLOS 2025 · 38 citations
  2. HeuriGym: An Agentic Benchmark for LLM-Crafted Heuristics in Combinatorial OptimizationHongzheng Chen, Yingheng Wang, Yaohui Cai, Hins Hu et al.ICLR 2026 · 26 citations
  3. SmoothE: Differentiable E-Graph ExtractionYaohui Cai, Kaixin Yang, Chenhui Deng, Cunxi Yu et al.ASPLOS 2025 · 12 citations
  4. Hydride: A Retargetable and Extensible Synthesis-based Compiler for Modern Hardware ArchitecturesAkash Kothari, Abdul Rafae Noor, Muchen Xu, Hassam Uddin et al.ASPLOS 2024 · 8 citations
  5. MISAAL: Synthesis-Based Automatic Generation of Efficient and Retargetable Semantics-Driven OptimizationsAbdul Rafae Noor, Dhruv Baronia, Akash Kothari, Muchen Xu et al.PLDI 2025 · 2 citations

Builds on9

  1. egg: Fast and extensible equality saturationMax Willsey, Chandrakana Nandi, Yisu Remy Wang, Oliver Flatt et al.POPL 2021 · 170 citations
  2. Alive2: bounded translation validation for LLVMNuno P. Lopes, Juneyoung Lee, Chung-Kil Hur, Zhengyang Liu et al.PLDI 2021 · 109 citations
  3. Synthesizing structured CAD models with equality saturation and inverse transformationsChandrakana Nandi, Max Willsey, Adam Anderson, James R. Wilcox et al.PLDI 2020 · 65 citations
  4. Vectorization for digital signal processors via equality saturationAlexa VanHattum, Rachit Nigam, Vincent T. Lee, James Bornholt et al.ASPLOS 2021 · 57 citations
  5. VeGen: a vectorizer generator for SIMD and beyondYishen Chen, Charith Mendis, Michael Carbin, Saman P. AmarasingheASPLOS 2021 · 43 citations

Related papers

  1. Automatic End-to-End Joint Optimization for Kernel Compilation on DSPsXiaolei Zhao, Zhaoyun Chen, Yang Shi, Mei Wen et al.DAC 2023 · 4 citations
  2. Charting the Design Space of Query Execution using VOILATim Gubner, Peter BonczVLDB 2021 · 17 citations
  3. OverGen: Improving FPGA Usability through Domain-specific Overlay GenerationSihao Liu, Jian Weng, Dylan Kupsh, Atefeh Sohrabizadeh et al.MICRO 2022 · 32 citations
  4. Fast Instruction Selection for Fast Digital Signal ProcessingAlexander J. Root, Maaz Bin Safeer Ahmad, Dillon Sharlet, Andrew Adams et al.ASPLOS 2023 · 7 citations
  5. Property-driven Automatic Generation of Reduced-ISA HardwareNathaniel Bleier, John Sartori, Rakesh KumarDAC 2021 · 7 citations
Dusk over the sea between two cliffs drawn in fine vertical lines