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

A Hotspot-Driven Semi-automated Competitive Analysis Framework for Identifying Compiler Key Optimizations

  • East China Normal University
  • Hangzhou Hongjun Microelectronics Technology

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

摘要

High-performance compilers play an important role in improving the run-time performance of a program, and it is hard and time-consuming to identify the key optimizations implemented in a high-performance compiler with traditional program analysis. In this paper, we propose a hotspot-driven semi-automated competitive analysis framework for identifying key optimizations through comparing the hotspot codes generated by any two different compilers. Our framework is platform-agnostic and works well on both AArch64 and X64 platforms, which automates the stages of hotspot detection and dynamic binary instrumentation only for selected hotspots. With the instrumented instruction characterization information, the framework users can analyze the binary code within a much smaller scope to explore practical optimizations implemented in any of the compilers compared. To demonstrate the effectiveness and practicality, we conduct experiments on SPECspeed 2017 Integer benchmarks(CINT2017) and their binaries generated by open-source GCC compiler versus proprietary Huawei BiSheng and Intel ICC compilers on AArch64 and X64 platforms respectively. Empirical studies show that our methods can identify several significant optimizations that have been implemented by proprietary compilers and as well can be implemented in open-source compilers. To Hangzhou Hongjun Microelectronics Technology(Hjmicro), the identified key optimizations shed great light on optimizing their GCC-based product compiler, which delivers 20.83% improvement for SPECrate 2017 Integer on AArch64 platform.

源语言英语
主期刊名CC 2023 - Proceedings of the 32nd ACM SIGPLAN International Conference on Compiler Construction
编辑Clark Verbrugge, Ondrej Lhotak, Xipeng Shen
出版商Association for Computing Machinery, Inc
216-227
页数12
ISBN(电子版)9798400700880
DOI
出版状态已出版 - 17 2月 2023
活动32nd ACM SIGPLAN International Conference on Compiler Construction, CC 2023 - Montreal, 加拿大
期限: 25 2月 202326 2月 2023

出版系列

姓名CC 2023 - Proceedings of the 32nd ACM SIGPLAN International Conference on Compiler Construction

会议

会议32nd ACM SIGPLAN International Conference on Compiler Construction, CC 2023
国家/地区加拿大
Montreal
时期25/02/2326/02/23

指纹

探究 'A Hotspot-Driven Semi-automated Competitive Analysis Framework for Identifying Compiler Key Optimizations' 的科研主题。它们共同构成独一无二的指纹。

引用此