期刊名称:The International Arab Journal of Information Technology
印刷版ISSN:1683-3198
出版年度:2005
卷号:2
期号:3
出版社:Zarqa Private University
摘要:Function inlining is a widely known technique that has been adopted in compiler optimization research domain. Inlining functions can eliminate the overhead which is resulted from function calls, but with inlining, the code size also grows unpredictably; this is not suitable for embedded processors whose memory size is relatively small. In this paper, we introduce a novel function inlining approach using a heuristic rebate_ratio; functions to be inlined are selected according to their rebate_ratios in a descending way. This kind of code optimization operation works at the source code level. Compared with other algorithms, ours are easier to implement. Our target is to get an optimal result of function inlining which attempts to achieve the maximum performance improvement while keeping the code size within a defined limit