期刊文献+

多媒体程序中消除控制相关的技术研究 被引量:1

Optimizations for Eliminating Control Dependence in Multimedia Programs
下载PDF
导出
摘要 随着多媒体应用的快速发展,最大程度地提升多媒体程序的性能逐渐变为计算机领域研究的热点。硬件平台和多媒体程序的特点是该领域研究需要关注的两个主要方面,当前的主流桌面处理器在提升主频的同时也增大了分支预测失误的开销,而多媒体应用程序中分支语句的大量使用进一步增大了分支预测失误的概率。我们在优化多媒体程序测试包BMW(BerkeleyMultimediaWorkload)过程中发现,通过消除程序中的控制相关,尽量减少程序中的分支指令可以显著地提升程序的性能。本文首先讨论了多媒体程序中消除控制相关的一些基本优化方法。针对当前主流处理器引入多媒体扩展指令集来优化程序的趋势,本文进一步总结了在SIMD架构下使用多媒体扩展指令集消除控制相关的方法。这两方面的优化方法应用到实际程序中,得到的平均性能提升分别为7%和26%。 With the rapid development of multimedia applications, many researches have focused on how to accelerate such workload. During the optimization of Berkeley Multimedia Workload, we find that heavy utilization of branch instructions in programs often increases the misprediction of processors with deep pipelines Therefore, it is very important to eliminate the branch instructions as many as possible. This paper proposes some methods to eliminate conditional branches on the hasis of conditional move instructions Furthermore, it "also makes a survey on the methods to rid the oontrol dependence with the support of MiME (Multimedia Extensions). These methods are applied to BMW (Berkeley Multimedia Workload) and a satisfactory speedup is obtained.
出处 《计算机工程与科学》 CSCD 2006年第11期91-95,99,共6页 Computer Engineering & Science
基金 国家自然科学基金资助项目(60273046) 上海市科学技术委员会重点基础基金资助项目(02JC14013)
关键词 控制相关 多媒体程序优化 多媒体扩展指令集 分支预测 control-dependence multimedia applications optimization multimedia extensions branch predication
  • 相关文献

参考文献11

  • 1Nathan Slingerland,Alan Jay Smith.Measuring the Performance of Multimedia Instruction Sets[J].IEEE Trans on Computers,2002,51(11):1317-1332.
  • 2G Hinton,D Sager,M Upton.The Microarchitecture of the Pentium 4 processor[J].Intel Technology Journal,Q1,2001.
  • 3http://www.intel.com/support/performancetools/vtune/v71,2004-10.
  • 4IA-32 Intel Architecture Optimization Reference Manual[EB/OL].http://developer.intel.com,2004-10.
  • 5J R Allen,K Kennedy,C Porterfield,et al.Conversion of Control Dependence to Data Dependence[A].POPL[C].1983.
  • 6R J Fisher,H G Dietz.Compiling for SIMD Within a Register[A].Proc of Workshop on Languages and Compilers for Parallel Processing[C].1998.
  • 7IA-32 Intel○R Architecture Software Developer's Manual.Volume 2:Instruction Set Reference[M].Intel Corp,2002.
  • 8G Ren,P Wu,D Padua.A Preliminary Study on the Vectorization of Multimedia Applications for Multimedia Extensions[A].Proc of the 16th Int'l Workshop on Languages and Compilers for Parallel Computing[C].2003.
  • 9Nathan T Slingerland,Alan Jay Smith.Multimedia Extensions for General Purpose Microprocessors:A Survey[J].Microprocessors and Microsystems,2005,29:225-246.
  • 10Intel○R C++ Compiler for Windows* Systems User's Guide[M].Intel Corp,2002.

同被引文献7

引证文献1

二级引证文献3

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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