首页 | 官方网站   微博 | 高级检索  
     

嵌入式系统中针对代码长度的编译优化
引用本文:姜伟华,马国凯,张沁峰,臧斌宇,朱传琪.嵌入式系统中针对代码长度的编译优化[J].计算机工程与科学,2004,26(3):102-109.
作者姓名:姜伟华  马国凯  张沁峰  臧斌宇  朱传琪
作者单位:复旦大学并行处理研究所,上海,200433
摘    要:随着嵌入式系统复杂性的提高,嵌入式系统软件代码的压缩变得非常重要。目前已经有几种代码压缩方法,它们将程序编译后的目标代码中多次出现的代码加以合并,有效地缩短了程序代码的长度。其中,尤以纯软件方法应用最为方便,但该方法不适用于数据堆栈和子程序调 用堆栈合一的嵌入式系统。本文将这种纯软件方法推广到单一堆栈的体系结构,有效地解决了堆栈结构改变对公用块代码语义的影响问题。

关 键 词:嵌入式系统  软件代码  代码长度  编译优化  目标代码  数据堆栈  程序编译
文章编号:1007-130X(2004)03-0102-08
修稿时间:2003年3月12日

Compiling Optimization on Code Lengths in Embedded Systems
JIANG Wei-hua,MA Guo-kai,ZHANG Qin-feng,ZANG Bin-yu,ZHU Chuan-qi.Compiling Optimization on Code Lengths in Embedded Systems[J].Computer Engineering & Science,2004,26(3):102-109.
Authors:JIANG Wei-hua  MA Guo-kai  ZHANG Qin-feng  ZANG Bin-yu  ZHU Chuan-qi
Abstract:With the complexity growth of embedded systems, the compression of embedded applications' code become more and more important. Several code compression methods have been presented nowadays. They all merge the same code sequences in binary code to increase code density. Among them, the pure software method can be used most widely and easily. However, it is not compatible with the architecture that has only one stack used for both data and subroutine calling. In this paper, we improve this method to make it compatible with that architecture.
Keywords:compiling optimization  common block merging  embedded systems  code density
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机工程与科学》浏览原始摘要信息
点击此处可从《计算机工程与科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号