Post-pass compaction techniques

被引:14
作者
De Bus, B [1 ]
Kästner, D
Chanet, D
Van Put, L
De Sutter, B
机构
[1] Univ Ghent, Elect & Informat Syst Dept, Ghent, Belgium
[2] Univ Saarland, D-6600 Saarbrucken, Germany
关键词
D O I
10.1145/859670.859696
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
The techniques used in post-pass compaction tools that solve code-size-related programs in program development environments are discussed. The tools are aiPop, Diablo and squeeze++. The techniques consists of whole-program optimizations, elimination of duplicate code fragments in program, and the construction of an internal program representation. The results of whole-program analysis are used during post-pass optimization to remove unnecessary parameter-passing code and redundant register saving code that results from conservative adherence to calling conventions. Additionally, post-pass optimizers reapply standard compiler optimizations, such as peephole optimization, copy propagation, useless code elimination and strength reduction.
引用
收藏
页码:41 / 46
页数:6
相关论文
共 11 条
[1]   Sifting out the mud: Low level C++ code reuse [J].
De Sutter, B ;
De Bus, B ;
De Bosschere, K .
ACM SIGPLAN NOTICES, 2002, 37 (11) :275-291
[2]   Compiler techniques for code compaction [J].
Debray, SK ;
Evans, W ;
Muth, R ;
De Sutter, B .
ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 2000, 22 (02) :378-415
[3]  
DESUTTER B, 2001, P ACM SIGPLAN WORKSH, P29
[4]  
DESUTTER B, 2003, P SIGPLAN S LANG COM
[5]  
FERDINAND C, 2001, CONTACT INFINEON TEC
[6]  
KASTNER D, 2002, P SIGPLAN JOINT C LA
[7]  
KASTNER D, 2001, P 5 INT C OPT TECHN
[8]  
LEVINE J, 2000, LINKERS LOADERS
[9]  
Muchnick S., 1997, ADV COMPILER DESIGN
[10]  
Muth R, 2001, SOFTWARE PRACT EXPER, V31, P67, DOI 10.1002/1097-024X(200101)31:1<67::AID-SPE357>3.0.CO