arrow
返回

Improved Basic Block Reordering

delete2020-12-01
delete11
delete
OA
AI
N
Newell, Andy
S
Sergey Pupyrev *
DOI:10.1109/TC.2020.2982888delete
delete原文链接
delete分享
delete收藏
查看原文
摘要

摘要

En 中文
Basic block reordering is an important step for profile-guided binary optimization. The state-of-the-art goal for basic block reordering is to maximize the number of fall-through branches. However, we demonstrate that such orderings may impose suboptimal performance on instruction and I-TLB caches. We propose a new algorithm that relies on a model combining the effects of fall-through and caching behavior. As details of modern processor caching is quite complex and often unknown, we show how to use machine learning in selecting parameters that best trade off different caching effects to maximize binary performance. An extensive evaluation on a variety of applications, including Facebook production workloads, the open-source compilers Clang and GCC, and SPEC CPU benchmarks, indicate that the new method outperforms existing block reordering techniques, improving the resulting performance of applications with large code size. We have open sourced the code of the new algorithm as a part of a post-link binary optimization tool, BOLT.
Keyword:
Optimization
Fasteners
Measurement
Machine learning
Facebook
Central Processing Unit
Tools
Code generation
code layout
optimizing compilers
profile-guided optimizations
graph algorithms
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

IEEE Transactions on Computers 封面图
IEEE Transactions on Computers
IF:
3.8
论文数:
5.4K
被引数:
9.8K

机构

F
facebook inc
学者数:
588
论文数: 381
被引数: 0
引用论文

引用论文

Alpha-synuclein negatively controls cell proliferation in dopaminergic neurons
err2022-03-01
err0
errOAAI
errJordan Prahl; Steven E. Pierce; Gerhard A. Coetzee; Trevor Tyson
err分享
err收藏
Carbonic anhydrase isozymes II, IX, and XII in uterine tumors
err2011-10-25
err0
errOAAI
errPIRITTA HYNNINEN; SEPPO PARKKILA; HEINI HUHTALA; SILVIA PASTOREKOVA; JAROMIR PASTOREK; ABDUL WAHEED; WILLIAM S. SLY; EIJA TOMAS
err分享
err收藏
A Survey on Compiler Autotuning using Machine Learning基于机器学习的编译器自动调优研究综述
err2018-09-18
err123
errOAAI
errAshouri, Amir H.; Killian, William; Cavazos, John; Palermo, Gianluca; Silvano, Cristina
err分享
err收藏
err分享
err收藏
Towards Semantic Reasoning on the Edge of IoT Systems
err2016-11-07
err0
PREAI
errXiang Su; Pingjiang Li; Yuhong Li; Huber Flores; Jukka Riekki; Christian Prehofer
err分享
err收藏
Taming Hardware Event Samples for Precise and Versatile Feedback Directed Optimizations
err2013-02-01
err27
PREAI
errChen, Dehao; Vachharajani, Neil; Hundt, Robert; Li, Xinliang; Eranian, Stephane; Chen, Wenguang; Zheng, Weimin
err分享
err收藏
学者 查看更多内容