...
首页> 外文期刊>Software >Microbenchmarks for determining branch predictor organization
【24h】

Microbenchmarks for determining branch predictor organization

机译:用于确定分支预测变量组织的微基准

获取原文
获取原文并翻译 | 示例
           

摘要

In order to achieve an optimum performance of a given application on a given computer platform, a program developer or compiler must be aware of computer architecture parameters, including those related to branch predictors. Although dynamic branch predictors are designed with the aim of automatically adapting to changes in branch behavior during program execution, code optimizations based on the information about predictor structure can greatly increase overall program performance. Yet, exact predictor implementations are seldom made public, even though processor manuals provide valuable optimization tips. This paper presents an experimental flow with a series of microbenchmarks that determine the organization and size of a branch predictor using on-chip performance monitoring registers. Such knowledge can be used either for manual code optimization or for design of new, more architecture-aware compilers. Three examples illustrate how insight into exact branch predictor organization can be directly applied to code optimization. The proposed experimental flow is illustrated with microbenchmarks tuned for Intel Pentium III and Pentium 4 processors, although they can easily be adapted for other architectures. The described approach can also be used during processor design for performance evaluation of various branch predictor organizations and for testing and validation during implementation.
机译:为了在给定的计算机平台上实现给定应用程序的最佳性能,程序开发人员或编译器必须知道计算机体系结构参数,包括那些与分支预测变量有关的参数。尽管动态分支预测变量的设计目的是自动适应程序执行期间分支行为的变化,但是基于有关预测变量结构的信息的代码优化可以大大提高整体程序性能。但是,即使处理器手册提供了有价值的优化技巧,确切的预测器实现也很少公开。本文介绍了具有一系列微基准的实验流程,这些微基准使用片上性能监控寄存器确定分支预测器的组织和大小。这些知识既可以用于手动代码优化,也可以用于设计新的,更具体系结构意识的编译器。三个示例说明了如何将对准确的分支预测变量组织的了解直接应用于代码优化。尽管可以轻松地将其调整为适用于其他体系结构,但所建议的实验流程已针对微指令对Intel Pentium III和Pentium 4处理器进行了调整。所描述的方法还可以在处理器设计期间用于各种分支预测变量组织的性能评估以及在实施期间进行测试和验证。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号