New Optimization Sequences for Code-Size Reduction for the LLVM Compilation Infrastructure

可执行文件 编译程序 计算机科学 编码(集合论) 并行计算 优化编译器 转化(遗传学) 程序设计语言 规格# 维数(图论) 程序优化 还原(数学) 数学 组合数学 化学 几何学 基因 生物化学 集合(抽象数据类型)
作者
Anderson Faustino,Edson Borin,Fernando Magno Quintão Pereira,Otávio O. Napoli,Vanderson Martins do Rosário
标识
DOI:10.1145/3475061.3475085
摘要

Typical compilers provide users with default optimization levels: sequences of code-transformation passes that can be tuned to either generate faster or smaller executables. Regarding this last dimension of efficiency—size—clang contains two optimization levels: Os and Oz. Both cause the invocation of a large number of passes: 264 and 260, respectively. In this paper, we explore the following question: is it possible to find shorter sequences that deliver similar results? To provide an answer to such a question, we have compiled 15,000 different programs with 10,044 optimization sequences, each with up to 100 code-transformation passes. Promising sequences, once selected, were then systematically reduced. From this effort, we have chosen five optimization sequences containing from 12 to 15 code transformations. When applied onto SPEC CPU2017, these sequences yield compilation times that are 1.4 − 1.6 × and 1.3 − 1.5 × faster than the Os and Oz optimization levels of LLVM. Moreover, one of the selected sequences produced code that is 2.3% smaller than LLVM's Os level, and only 2.5% larger than the Oz level.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
aiyangyang完成签到 ,获得积分10
刚刚
王哲发布了新的文献求助20
刚刚
FashionBoy应助小璐璐呀采纳,获得10
刚刚
小吉完成签到,获得积分10
刚刚
刚刚
noss发布了新的文献求助30
刚刚
jj发布了新的文献求助10
1秒前
柯柯完成签到,获得积分10
1秒前
爆米花应助leeOOO采纳,获得10
1秒前
英俊的铭应助junjun采纳,获得10
1秒前
Shaw完成签到 ,获得积分10
1秒前
滴滴滴完成签到,获得积分10
1秒前
小鱼完成签到,获得积分10
1秒前
hhhpass发布了新的文献求助20
2秒前
自立完成签到,获得积分10
2秒前
2秒前
Zzz0321发布了新的文献求助10
2秒前
2秒前
2秒前
包容行恶完成签到,获得积分20
3秒前
吱唔猪发布了新的文献求助10
3秒前
小荣同学完成签到,获得积分10
3秒前
花夜来完成签到,获得积分10
3秒前
无花果应助Eunice采纳,获得10
3秒前
hhhheeee发布了新的文献求助10
4秒前
4秒前
4秒前
4秒前
4秒前
爱吃黄豆发布了新的文献求助30
4秒前
和谐续完成签到 ,获得积分10
4秒前
ding应助lzz采纳,获得10
5秒前
lulu发布了新的文献求助10
5秒前
田様应助唠叨的河马采纳,获得10
5秒前
好天气完成签到,获得积分20
5秒前
哈基米完成签到,获得积分0
5秒前
小马关注了科研通微信公众号
6秒前
Owen应助十一采纳,获得10
6秒前
nchudddd发布了新的文献求助10
6秒前
科目三应助assdd采纳,获得10
6秒前
高分求助中
Principles of Economics, 11th Edition 10000
University Physics with Modern Physics, 16th edition 10000
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
48V Low-voltage Power Distribution Network (PDN) Architecture Industry Report, 2024 800
ズームレンズの光学設計に関する研究 800
Fundamentals of Pharmaceutical and Biologics Regulations: A Global Perspective, Second Edition 700
Matrix Methods in Data Mining and Pattern Recognition Second Edition 610
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7298998
求助须知:如何正确求助?哪些是违规求助? 8917559
关于积分的说明 18883630
捐赠科研通 6964075
什么是DOI,文献DOI怎么找? 3210788
关于科研通互助平台的介绍 2380130
邀请新用户注册赠送积分活动 2187340