TrivialSpy: Identifying Software Triviality via Fine-grained and Dataflow-based Value Profiling
Xin You, Hailong Yang, Kelun Lei, Zhongzhi Luan, Depei Qian
摘要
Trivial operations cause software inefficiencies that waste functional units and memory bandwidth for executing useless instructions. Although previous works have identified a significant amount of trivial operations in widely used programs, the proposed solutions only provide useful observations, other than actionable guidance to eliminate trivial operations for better performance. In this paper, we propose TrivialSpy - a fine-grained and dataflow-based value profiler to effectively identify software triviality with optimization potential estimation. With the help of dataflow analysis, TrivialSpy can detect software trivialities of heavy operation, trivial chain, and redundant backward slice. In addition, TrivialSpy can identify trivial breakpoints that combine multiple trivial conditions for more optimization opportunities. The evaluation results demonstrate TrivialSpy is capable of identifying software triviality in highly optimized programs. Based on the optimization guidance provided by TrivialSpy, we can achieve 52.09% performance speedup at maximum after eliminating trivial operations.
问 Lune
几分钟看清这篇 Paper 的位置,不用再花一下午。
Lune 能读引用它和与它最相关的顶会 Paper,讲清它说了什么、后来怎样、哪里站不住,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
相关 Paper
- ZeroSpy: exploring software inefficiency with redundant zerosXin You, Hailong Yang, Zhongzhi Luan, Depei Qian 等SC 2020 · 16 次引用
- VClinic: A Portable and Efficient Framework for Fine-Grained Value ProfilersXin You, Hailong Yang, Kelun Lei, Zhongzhi Luan 等ASPLOS 2023 · 10 次引用
- Zero-Value Code Specialization via Profile-Guided Control Data Flow AnalysisShaokang Du, Kelun Lei, Xin You, Hailong Yang 等SC 2025 · 1 次引用
- Boosting Path-Sensitive Value Flow Analysis Via Removal of Redundant SummariesYongchao Wang, Yuandao Cai, Charles ZhangICSE 2025 · 1 次引用
- GRAPHSPY: Fused Program Semantic Embedding through Graph Neural Networks for Memory EfficiencyYixin Guo, Pengcheng Li, Yingwei Luo, Xiaolin Wang 等DAC 2021 · 8 次引用
