branch predictor: move out of o3 and inorder cpus
authorNilay Vaish ext:(%2C%20Timothy%20Jones%20%3Ctimothy.jones%40cl.cam.ac.uk%3E) <nilay@cs.wisc.edu>
Thu, 24 Jan 2013 18:28:51 +0000 (12:28 -0600)
committerNilay Vaish ext:(%2C%20Timothy%20Jones%20%3Ctimothy.jones%40cl.cam.ac.uk%3E) <nilay@cs.wisc.edu>
Thu, 24 Jan 2013 18:28:51 +0000 (12:28 -0600)
commitdbeabedaf0f8d9ec0ea3331db2e44b1add53f79f
tree568d3b6007adf1a8d3ba6568fc5635e56afd3d53
parent11d5ffa108983d5d9742f0aad23f80c691f285ee
branch predictor: move out of o3 and inorder cpus
This patch moves the branch predictor files in the o3 and inorder directories
to src/cpu/pred. This allows sharing the branch predictor across different
cpu models.

This patch was originally posted by Timothy Jones in July 2010
but never made it to the repository.

--HG--
rename : src/cpu/o3/bpred_unit.cc => src/cpu/pred/bpred_unit.cc
rename : src/cpu/o3/bpred_unit.hh => src/cpu/pred/bpred_unit.hh
rename : src/cpu/o3/bpred_unit_impl.hh => src/cpu/pred/bpred_unit_impl.hh
rename : src/cpu/o3/sat_counter.hh => src/cpu/pred/sat_counter.hh
32 files changed:
configs/common/O3_ARM_v7a.py
src/cpu/BaseCPU.py
src/cpu/inorder/InOrderCPU.py
src/cpu/inorder/SConscript
src/cpu/inorder/inorder_cpu_builder.cc
src/cpu/inorder/resources/bpred_unit.cc [deleted file]
src/cpu/inorder/resources/bpred_unit.hh [deleted file]
src/cpu/inorder/resources/branch_predictor.cc
src/cpu/inorder/resources/branch_predictor.hh
src/cpu/o3/O3CPU.py
src/cpu/o3/SConscript
src/cpu/o3/bpred_unit.cc [deleted file]
src/cpu/o3/bpred_unit.hh [deleted file]
src/cpu/o3/bpred_unit_impl.hh [deleted file]
src/cpu/o3/cpu_policy.hh
src/cpu/o3/deriv.cc
src/cpu/o3/fetch.hh
src/cpu/o3/fetch_impl.hh
src/cpu/o3/sat_counter.cc [deleted file]
src/cpu/o3/sat_counter.hh [deleted file]
src/cpu/pred/2bit_local.cc
src/cpu/pred/2bit_local.hh
src/cpu/pred/BranchPredictor.py [new file with mode: 0644]
src/cpu/pred/SConscript
src/cpu/pred/bpred_unit.cc [new file with mode: 0644]
src/cpu/pred/bpred_unit.hh [new file with mode: 0644]
src/cpu/pred/bpred_unit_impl.hh [new file with mode: 0644]
src/cpu/pred/btb.hh
src/cpu/pred/ras.hh
src/cpu/pred/sat_counter.hh [new file with mode: 0644]
src/cpu/pred/tournament.cc
src/cpu/pred/tournament.hh