一个为ARM架构优化GCC的框架

India prmahalingam, Shimmi Asokan
{"title":"一个为ARM架构优化GCC的框架","authors":"India prmahalingam, Shimmi Asokan","doi":"10.1145/2345396.2345452","DOIUrl":null,"url":null,"abstract":"Mobile application domain is developing on a daily basis. The performance, features and aesthetics of the applications play an important role in its increasing importance. Also, upcoming device models are looking for more energy-efficient performance as a step towards green computing. This is realized by ARM cores. But the performance and energy efficiency depend not only on the core, but the application also. Such efficiency can only be managed by efficient code from the compiler. This is primarily managed in its back-end, which comprises of the latter half of the compiler's control flow (intermediate code generator to code generator). If the code is optimized by the compiler, it will perform with lesser CPU cycle requirements, and save more energy. So, optimizing the code saves both time and power. In order to do so, compilers like GCC already provide a lot of options. But due to the generic structure of GCC, it performs very little ARM-specific optimizations. Here, we aim to improve the performance of the GCC optimizers for the ARM cores by better instruction selection (machine idioms and instruction combining), and choosing the order of optimizations appropriately, since in some cases, a set of optimizations may pave the way for improving some others. The end result is targeted to give about 30% increase in efficiency in most cases.","PeriodicalId":290400,"journal":{"name":"International Conference on Advances in Computing, Communications and Informatics","volume":"68 3 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2012-08-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":"{\"title\":\"A framework for optimizing GCC for ARM architecture\",\"authors\":\"India prmahalingam, Shimmi Asokan\",\"doi\":\"10.1145/2345396.2345452\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Mobile application domain is developing on a daily basis. The performance, features and aesthetics of the applications play an important role in its increasing importance. Also, upcoming device models are looking for more energy-efficient performance as a step towards green computing. This is realized by ARM cores. But the performance and energy efficiency depend not only on the core, but the application also. Such efficiency can only be managed by efficient code from the compiler. This is primarily managed in its back-end, which comprises of the latter half of the compiler's control flow (intermediate code generator to code generator). If the code is optimized by the compiler, it will perform with lesser CPU cycle requirements, and save more energy. So, optimizing the code saves both time and power. In order to do so, compilers like GCC already provide a lot of options. But due to the generic structure of GCC, it performs very little ARM-specific optimizations. Here, we aim to improve the performance of the GCC optimizers for the ARM cores by better instruction selection (machine idioms and instruction combining), and choosing the order of optimizations appropriately, since in some cases, a set of optimizations may pave the way for improving some others. The end result is targeted to give about 30% increase in efficiency in most cases.\",\"PeriodicalId\":290400,\"journal\":{\"name\":\"International Conference on Advances in Computing, Communications and Informatics\",\"volume\":\"68 3 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2012-08-03\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"2\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"International Conference on Advances in Computing, Communications and Informatics\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/2345396.2345452\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Conference on Advances in Computing, Communications and Informatics","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/2345396.2345452","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

摘要

移动应用领域每天都在发展。应用程序的性能、特性和美观性在其日益重要的地位中发挥着重要作用。此外,即将推出的设备型号正在寻求更节能的性能,作为迈向绿色计算的一步。这是由ARM内核实现的。但性能和能源效率不仅取决于核心,还取决于应用。这种效率只能由编译器的高效代码来管理。这主要在它的后端进行管理,后端由编译器控制流的后半部分(中间代码生成器到代码生成器)组成。如果编译器对代码进行了优化,它将以更少的CPU周期要求执行,并节省更多的能量。因此,优化代码可以节省时间和精力。为了做到这一点,像GCC这样的编译器已经提供了很多选项。但是由于GCC的通用结构,它很少执行特定于arm的优化。在这里,我们的目标是通过更好的指令选择(机器习惯用法和指令组合)和适当地选择优化顺序来提高GCC优化器在ARM内核上的性能,因为在某些情况下,一组优化可能会为改进其他一些优化铺平道路。最终的目标是在大多数情况下将效率提高约30%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
A framework for optimizing GCC for ARM architecture
Mobile application domain is developing on a daily basis. The performance, features and aesthetics of the applications play an important role in its increasing importance. Also, upcoming device models are looking for more energy-efficient performance as a step towards green computing. This is realized by ARM cores. But the performance and energy efficiency depend not only on the core, but the application also. Such efficiency can only be managed by efficient code from the compiler. This is primarily managed in its back-end, which comprises of the latter half of the compiler's control flow (intermediate code generator to code generator). If the code is optimized by the compiler, it will perform with lesser CPU cycle requirements, and save more energy. So, optimizing the code saves both time and power. In order to do so, compilers like GCC already provide a lot of options. But due to the generic structure of GCC, it performs very little ARM-specific optimizations. Here, we aim to improve the performance of the GCC optimizers for the ARM cores by better instruction selection (machine idioms and instruction combining), and choosing the order of optimizations appropriately, since in some cases, a set of optimizations may pave the way for improving some others. The end result is targeted to give about 30% increase in efficiency in most cases.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信