期刊文献+

基于目标代码大小的指令选择

Instruction Selection Based on Object Code Sizes
下载PDF
导出
摘要 在传统编译器中,指令选择往往采用动态规划的方法,其目的是优化目标代码性能(减小程序运行时间)。在嵌入式系统中,受到成本的约束,一般只有很有限的存储空间,因此要求目标代码仅可能地小。本文针对具有可变长指令的处理器,以优化代码大小为目的,采用动态规划的方法进行指令选择;相对于优化性能的目标代码,可缩小代码大小的15%到20%。 Instruction selection of traditional compilers often adopts the dynamic programming technology to optimize the object code performance (reducing code running time). Because of the cost constraint, embedded systems always have very limited memory resources, requiring code sizes as small as possible. This paper provides an instruction selection method based on object code sizes for a type of processors which have variable instruction sizes, using dynamic programming. And relative to the compilers for performance, it can reduce the code size from 15% to 20%.
出处 《计算机工程与科学》 CSCD 2007年第2期127-128,144,共3页 Computer Engineering & Science
基金 国家自然科学基金资助项目(90207019) 国家863计划资助项目(2002AA1Z1480)
关键词 嵌入式系统 编译器 目标代码 动态规划 embedded system,compiler,object code,dynamic programming
  • 相关文献

参考文献5

  • 1Naik M,Palsberg J.Compiling with Code-Size Constraints[A].Proc of LCTES'02-SCOPES'02[C].2002.
  • 2Krishnaswamy A,Gupta R.Profile Guided Selection of ARM and Thumb Instructions[A].Proc of LCTES'02-SCOPES'02[C].2002.
  • 3Xu X H,Clarke C T,Jones S R.High Performance Code Compression Architecture for the Embedded ARM/THUMB Processor[A].Proc of CF'04[C].2004.
  • 4Intel Corporation.IA-32 Intel Architecture Software Developer's Manual[M].2003.
  • 5Fraser C W,Hanson D R.A Retargetable C Compiler:Design and Implementation[M].Addison-Wesley Publishing Company,1995.

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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