1. 首页
  2. 考试认证
  3. 其它
  4. GEM5将相关器分支预测器集成到gem5周期精确架构模拟器中

GEM5将相关器分支预测器集成到gem5周期精确架构模拟器中

上传者: 2024-12-11 09:55:53上传 ZIP文件 41.38KB 热度 6次

GEM5中将相关器分支预测器集成到gem5周期精确架构模拟器中,流程如下:

  1. 在SConscript中添加源文件。

  2. bpred_unit.cc中为预测器创建一个新对象。

  3. 将参数添加到BranchPredictor.py

  4. 修改O3_ARM_v7a.py中的predType

  5. 构建系统:scons -j8 build/ARM/gem5.debug

  6. 为se模式编译程序:arm-linux-gnueabi-gcc -DUNIX -o sort.c -static

  7. 在se模式下运行系统:./build/ARM/gem5.debug --debug-file=trace.out --debug-flags=Fetch,Branch configs/example/se.py -c ./tests/test-progs /hello/bin/arm/linux/sort

下载地址
用户评论