
Research Article
Architecture-Aware Optimization Strategies for Instruction Selection in DSP Compilers
@INPROCEEDINGS{10.1007/978-3-031-67162-3_6, author={Yiwei Wang and Jun Wu and Haoqi Ren and Zhifeng Zhang and Bin Tan}, title={Architecture-Aware Optimization Strategies for Instruction Selection in DSP Compilers}, proceedings={Communications and Networking. 18th EAI International Conference, ChinaCom 2023, Sanya, China, November 18--19, 2023, Proceedings}, proceedings_a={CHINACOM}, year={2024}, month={8}, keywords={DSP LLVM Instruction-selection SWIFT SIMD}, doi={10.1007/978-3-031-67162-3_6} }
- Yiwei Wang
Jun Wu
Haoqi Ren
Zhifeng Zhang
Bin Tan
Year: 2024
Architecture-Aware Optimization Strategies for Instruction Selection in DSP Compilers
CHINACOM
Springer
DOI: 10.1007/978-3-031-67162-3_6
Abstract
This paper explores the problem of instruction selection optimization in LLVM backend code for transforming platform-independent intermediate code into high-quality target platform instructions. The instruction selection process is divided into two problems: pattern matching and pattern selection. We propose a novel architecture-aware optimization strategy that leverages the features of digital signal processors (DSPs) to improve the efficiency and performance of instruction selection. Our approach involves analyzing the characteristics of DSP architectures to guide the selection of optimal instructions. We evaluate our approach on a set of benchmarks and demonstrate significant improvements in both execution time and code size compared to existing LLVM optimization techniques. Our results show that architecture-aware optimization strategies can effectively enhance instruction selection in DSP compilers, leading to better performance and reduced energy consumption in real-world applications.