跳到主要导航 跳到搜索 跳到主要内容

Zero-Value Code Specialization via Profile-Guided Control Data Flow Analysis

  • Beihang University

科研成果: 书/报告/会议事项章节会议稿件同行评审

摘要

Zero-value propagation is a common phenomenon in modern programs, where redundant operations caused by zero-values can severely impact performance. Since zero-values are often generated dynamically at runtime, eliminating such redundancies through static analysis alone is challenging. In this paper, we propose an efficient static control data flow analysis algorithm to identify redundancies resulting from zero-value propagation. Based on this algorithm, we design and implement ZeroSpec, a fully automated profile-guided code optimizer that detects zero-values at runtime and specializes fast paths for them. To maximize performance gains, ZeroSpec also employs a fine-grained cost model that evaluates the optimization potential of individual zero-value instructions to guide the construction of targeted optimization regions. Evaluation on SPEC CPU2017, NPB and real-world applications demonstrates the effectiveness of ZeroSpec, achieving a maximum performance speedup of 1.31×.

源语言英语
主期刊名Proceedings of the International Conference for High Performance Computing, Networking, Storage, and Analysis, SC 2025
出版商Association for Computing Machinery, Inc
316-330
页数15
ISBN(电子版)9798400714665
DOI
出版状态已出版 - 15 11月 2025
活动2025 International Conference for High Performance Computing, Networking, Storage, and Analysis, SC 2025 - St. Louis, 美国
期限: 16 11月 202521 11月 2025

出版系列

姓名Proceedings of the International Conference for High Performance Computing, Networking, Storage, and Analysis, SC 2025

会议

会议2025 International Conference for High Performance Computing, Networking, Storage, and Analysis, SC 2025
国家/地区美国
St. Louis
时期16/11/2521/11/25

指纹

探究 'Zero-Value Code Specialization via Profile-Guided Control Data Flow Analysis' 的科研主题。它们共同构成独一无二的指纹。

引用此