期刊文献+

浅析嵌入式系统编程中的代码优化 被引量:5

Code Optimization in Embedded System Programming
下载PDF
导出
摘要 随着嵌入式系统应用复杂度的提高,高效精简的软件代码是提高系统性能的关键因素之一。文章首先分析了嵌入式编程的特点,阐述了内联函数、循环展开、软件流水等几种代码优化方法,最后提出了应用行程编码(RLE)方法来减少常量数组对存储空间的占用。实验表明,经上述方法优化后的目标代码,执行效率提升了近50%,有效地提高了系统性能。 The paper analyzes the features of the embedded programming, and discusses the methods of code optimization such as inline function, loop unrolling and software pipeline. And a run length encoding method is proposed to compress the constant array.Experiment shows that this optimization code can improve system's performance and reduce the exection time to 50%.
出处 《自动化技术与应用》 2005年第12期18-21,共4页 Techniques of Automation and Applications
关键词 嵌入式系统 代码优化 RLE Embedded system Code optimization RLE
  • 相关文献

参考文献8

二级参考文献19

  • 1[1]David A. Computer architecture. A Quantitative Approach (Second Edition)[M].Patterson, John L. Hennessy, 1997
  • 2[2]McFarling.Procedure merging with instruction cache[C]. Proceedings of the ACMSIGPLAN' 91 Conference on Programming Language Design and Implementation, Toronto,Ontario, June, 1991.71~79
  • 3[3]Alfred V. Aho.Code generation using tree matching and dynamic programming[J].Mahadevan Ganapathi, and Steven W.K.Tjiang. ACM Transactions on ProgrammingLanguages and Systems, October 1989.11(4): 491~516
  • 4[4]Alfred V. Aho and Steven C. Johnson.Optimal code generation for expression trees[J]. Journal of the ACM, July 1976.23(3):458~501
  • 5[5]Alfred V.Aho , Ravi Sethi, Jeffrey D.Ullman Compiler principles[J]. Techniquesand Tools,1986
  • 6[2]田 泽,于敦山,盛世敏. ARM Soc体系结构[M].北京:北京航空航天大学出版社,2002.
  • 7郑泽胜.嵌入式系统以及实时软件开发[EB/OL].www.pocketix.com中文社区,.
  • 8Allen V H, Jones R B, Lee R M, et al . Software pipelining [J]. ACM Computing Surveys, 1995,27(3):367-432
  • 9Weiss S, Smith J E. A study of scalar compilation techniques for pipelined supercomputers[J]. ACM Transactions on Mathematical Software, 1990, 16(3):223-245
  • 10Rau B R. Iterative modulo scheduling[R]. HPL-94-115, 1994

共引文献32

同被引文献19

  • 1李文龙,刘利,汤志忠.软件流水中的循环展开优化[J].北京航空航天大学学报,2004,30(11):1111-1115. 被引量:16
  • 2刘欣,杨雪鹏,方加宝,翟勇.基于Internet的嵌入式监控系统设计[J].自动化技术与应用,2005,24(12):15-17. 被引量:2
  • 3林峰,林毅.TMS320C6000代码优化技术[J].重庆邮电学院学报(自然科学版),2006,18(1):60-64. 被引量:1
  • 4Sloss AN,Dominic Symes D,Wright C.ARM system developer's guide-designing and optimizing system software[M].[S.l.]:Elsevier,2004.
  • 5孙洪,余翔宇.数字信号处理--基于计算机的方法[M].2版.北京:电子工业出版社,2005.
  • 6LSI l,ogic Corporation. ZSP400 Digital Signal Processor Architecture[ EB/OL]. ( 2001-12-20 ) [ 2010-07-05 ]. http ://pdf. 51 dzw. com/ie _ pdf/ZSP400-pdf-1538091 _ 733079. html.
  • 7ALFREDV,RAVIS,MONICAS,et al.编译原理[M].2版.赵建华,郑滔,戴新宇,译.北京:机械工业出版社,2009:427-609.
  • 8GAN Ling, DING Zhen-jiang. A Simulator Support for LSI Logie ZSP400 Instruction Set[ C ]//3CA 2010, 2010 International Symposium on Computer, Communication, Control and Automation. Taiwan: Far East University, 2010 : 10-13.
  • 9C8051F02x Data Sheet.Sheet.Silicon aboratories[DB/OL].http://www.silabs.com/Support%20Documents/TechnicalDocs/C8051F02x.pdf.
  • 10u Vision4 User's Gide. Keil[EB/OL].http//www.keil.com/support/man/docs/uv4/.

引证文献5

二级引证文献10

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部