计算机工程 ›› 2009, Vol. 35 ›› Issue (5): 40-43.doi: 10.3969/j.issn.1000-3428.2009.05.014

• 软件技术与数据库 • 上一篇    下一篇

基于四阶段人工优化的软件流水技术

周国建1,吴少刚1,2,李祖松2,史 岗2   

  1. (1. 中国石油大学(华东)计算机与通信工程学院,东营 257061;2. 中国科学院计算技术研究所微处理器中心,北京 100080)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2009-03-05 发布日期:2009-03-05

Software Pipelining Technique Based on Four-Phase Manual Optimization

ZHOU Guo-jian1, WU Shao-gang1,2, LI Zu-song2, SHI Gang2   

  1. (1. College of Computer & Communication Engineering, China University of Petroleum, Dongying 257061; 2. Microchip Research Center, Institute of Computing Technology, Chinese Academy of Sciences, Beijing 100080)
  • Received:1900-01-01 Revised:1900-01-01 Online:2009-03-05 Published:2009-03-05

摘要: 代码体积是优化存储资源有限的嵌入式系统的重要因素之一。针对该特点,使用oprofile性能分析工具,以EEMBC基准程序集作为工作负载,提出四阶段人工优化软件流水方法(FPMO)。电信类的自相关程序实验结果表明,FPMO以2.04%的代码增量为代价换来40.678%的性能提升,而单纯的编译器自动优化则以33.35%的体积膨胀换来38.33%的性能提升。

关键词: 软件流水, 循环展开, 性能分析, 四阶段人工优化

Abstract: For embedded systems with very limited memory resources, code size becomes one of the most important optimization concerns. Using the oprofile profiling tool, this paper focuses on the Four-Phase Manual Optimization(FPMO) for the software pipelining technique when running the EEMBC benchmark. Experimental result of telecom-autocorrelation shows the FPMO method gets 40.678% performance promotion by increasing 2.04% code size but the pure compiler automatic optimization trades 38.33% performance improvements by 33.35% code size expansion.

Key words: software pipelining, loop unrolling, performance analysis, Four-Phase Manual Optimization(FPMO)

中图分类号: