Compiler optimization and ordering effects on VLIW code compression

Compiler optimization and ordering effects on VLIW code compression
复制标题

编译器优化和排序对 VLIW 代码压缩的影响

DOI:
--
复制
发表时间:
2003
期刊:
International Conference on Compilers, Architecture, and Synthesis for Embedded Systems
影响因子:
--
通讯作者:
P. Sutton
P. Sutton
中科院分区:
--
文献类型:
--
作者:
Montserrat Ros;P. Sutton

文献摘要

被引文献

相似文献

代码大小一直是所有嵌入式应用程序以及更大系统的一个重要问题。代码压缩技术已被设计为一种对抗代码膨胀的方法;然而,VLIW编译器方法和输出对这些压缩方案的影响还没有得到彻底的研究。本文描述了单指令和多指令字典方法在代码压缩中的应用,以减少TI TMS320C6xxx DSP系列的整体代码大小。在单指令编码方案中,发现压缩比并不是最佳整体代码大小的有用指标--当压缩方案应用于大小优化的代码时,获得最佳结果(最小总代码大小)。在多指令编码方案中,发现改变并行指令顺序仅略微改善了未优化代码中的压缩,并且当其应用于已针对大小进行优化的构建时,不影响代码压缩。
Code size has always been an important issue for all embedded applications as well as larger systems. Code compression techniques have been devised as a way of battling bloated code; however, the impact of VLIW compiler methods and outputs on these compression schemes has not been thoroughly investigated.This paper describes the application of single- and multiple-instruction dictionary methods for code compression to decrease overall code size for the TI TMS320C6xxx DSP family. The compression scheme is applied to benchmarks taken from the Mediabench benchmark suite built with differing compiler optimization parameters.In the single instruction encoding scheme, it was found that compression ratios were not a useful indicator of the best overall code size - the best results (smallest overall code size) were obtained when the compression scheme was applied to size-optimized code. In the multiple instruction encoding scheme, changing parallel instruction order was found to only slightly improve compression in unoptimized code and does not affect the code compression when it is applied to builds already optimized for size.