计算机工程与科学2024,Vol.46Issue(8) :1390-1394.DOI:10.3969/j.issn.1007-130X.2024.08.007

基于BOOM处理器的访存逻辑优化

Optimization of memory access logic in BOOM processor

周蔺宁 刘杰 李洪奎 付浩东 刘红海 肖浩
计算机工程与科学2024,Vol.46Issue(8) :1390-1394.DOI:10.3969/j.issn.1007-130X.2024.08.007

基于BOOM处理器的访存逻辑优化

Optimization of memory access logic in BOOM processor

周蔺宁 1刘杰 1李洪奎 1付浩东 1刘红海 1肖浩1
扫码查看

作者信息

  • 1. 湖州师范学院信息工程学院,浙江 湖州 313000
  • 折叠

摘要

BOOM处理器采用的Store指令回查策略虽然解决了访存指令乱序执行引发的数据冲突问题,但是该策略会导致流水线的大量冲刷,降低了处理器的性能.对此,提出了一种访存指令的相关性预测方法.该方法取消了Load指令访存前的查询操作,增加了Load指令相关性预测表,只有预测为无相关性的Load指令才可以乱序执行.这种方法在保证程序逻辑正确的前提下避免了大量冲刷流水线.测试程序采用SPEC CPU 2006下的7个子程序,实验结果表明,改进后的处理器执行程序的性能平均提升了3.5%.

Abstract

Although the Store instruction backtracking strategy adopted by BOOM processors solves the problem of data conflicts caused by out-of-order execution of memory access instructions,this strat-egy can lead to a large amount of pipeline flushing and reduce the processor performance.To address this,a correlation prediction method for memory access instructions is proposed.This method cancels the query operation before the Load instruction accesses memory and adds a Load instruction correlation prediction table.Only Load instructions that are predicted to be uncorrelated can be executed in disor-der.This method avoids a large amount of pipeline flushing while ensuring the correctness of program logic.The test program uses 7 subroutines under SPEC CPU 2006,and the experimental results show that the improved processor's execution performance is improved by 3.5%on average.

关键词

乱序执行/访存指令/相关性预测

Key words

out-of-order execution/memory access instruction/correlation prediction

引用本文复制引用

基金项目

湖州市公益重点项目(2019GZ10)

浙江省重点实验室项目(2020E10017)

出版年

2024
计算机工程与科学
国防科学技术大学计算机学院

计算机工程与科学

CSTPCD北大核心
影响因子:0.787
ISSN:1007-130X
参考文献量2
段落导航相关论文