summaryrefslogtreecommitdiff
path: root/src/cpu/BaseCPU.py
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2013-09-04 13:22:56 -0400
committerAndreas Hansson <andreas.hansson@arm.com>2013-09-04 13:22:56 -0400
commitea402970185d5df01dbad2c0f41b8d76d2eb01cd (patch)
treeca6670c9db05e67783b34a4a1d099b9500ef2bdd /src/cpu/BaseCPU.py
parentbb1d2f39575795f0b369bb3cabb52c9d42a8b1c6 (diff)
downloadgem5-ea402970185d5df01dbad2c0f41b8d76d2eb01cd.tar.xz
cpu: Move the branch predictor out of the BaseCPU
The branch predictor is guarded by having either the in-order or out-of-order CPU as one of the available CPU models and therefore should not be used in the BaseCPU. This patch moves the parameter to the relevant CPU classes.
Diffstat (limited to 'src/cpu/BaseCPU.py')
-rw-r--r--src/cpu/BaseCPU.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/cpu/BaseCPU.py b/src/cpu/BaseCPU.py
index 7ec79ad0a..cd82207cd 100644
--- a/src/cpu/BaseCPU.py
+++ b/src/cpu/BaseCPU.py
@@ -51,7 +51,6 @@ from Bus import CoherentBus
from InstTracer import InstTracer
from ExeTracer import ExeTracer
from MemObject import MemObject
-from BranchPredictor import BranchPredictor
from ClockDomain import *
default_tracer = ExeTracer()
@@ -210,8 +209,6 @@ class BaseCPU(MemObject):
dcache_port = MasterPort("Data Port")
_cached_ports = ['icache_port', 'dcache_port']
- branchPred = Param.BranchPredictor(NULL, "Branch Predictor")
-
if buildEnv['TARGET_ISA'] in ['x86', 'arm']:
_cached_ports += ["itb.walker.port", "dtb.walker.port"]