summaryrefslogtreecommitdiff
path: root/cpu/o3/lsq.hh
diff options
context:
space:
mode:
authorKevin Lim <ktlim@umich.edu>2006-05-31 11:45:02 -0400
committerKevin Lim <ktlim@umich.edu>2006-05-31 11:45:02 -0400
commita514bf21508f4398f5cf7322f5f2a1ed212bbcaa (patch)
treee41f2e45926a5724765f762fe8c4b34e9e4d5c56 /cpu/o3/lsq.hh
parent94eff2f4854ce23900bcc3d694ff4c290111bea7 (diff)
downloadgem5-a514bf21508f4398f5cf7322f5f2a1ed212bbcaa.tar.xz
Comments and code cleanup.
cpu/activity.cc: cpu/activity.hh: cpu/o3/alpha_cpu.hh: Updates to include comments. cpu/base_dyn_inst.cc: Remove call to thread->misspeculating(), as it's never actually misspeculating. --HG-- extra : convert_revision : 86574d684770fac9b480475acca048ea418cdac3
Diffstat (limited to 'cpu/o3/lsq.hh')
-rw-r--r--cpu/o3/lsq.hh7
1 files changed, 3 insertions, 4 deletions
diff --git a/cpu/o3/lsq.hh b/cpu/o3/lsq.hh
index a1eeccbe7..b321d4590 100644
--- a/cpu/o3/lsq.hh
+++ b/cpu/o3/lsq.hh
@@ -49,6 +49,7 @@ class LSQ {
typedef typename Impl::CPUPol::IEW IEW;
typedef typename Impl::CPUPol::LSQUnit LSQUnit;
+ /** SMT policy. */
enum LSQPolicy {
Dynamic,
Partitioned,
@@ -69,8 +70,9 @@ class LSQ {
void setIEW(IEW *iew_ptr);
/** Sets the page table pointer. */
// void setPageTable(PageTable *pt_ptr);
-
+ /** Switches out the LSQ. */
void switchOut();
+ /** Takes over execution from another CPU's thread. */
void takeOverFrom();
/** Number of entries needed for the given amount of threads.*/
@@ -95,9 +97,6 @@ class LSQ {
/** Executes a load. */
Fault executeLoad(DynInstPtr &inst);
- Fault executeLoad(int lq_idx, unsigned tid)
- { return thread[tid].executeLoad(lq_idx); }
-
/** Executes a store. */
Fault executeStore(DynInstPtr &inst);