summaryrefslogtreecommitdiff
path: root/src/cpu/ozone
diff options
context:
space:
mode:
authorGeoffrey Blake <geoffrey.blake@arm.com>2012-03-09 09:59:28 -0500
committerGeoffrey Blake <geoffrey.blake@arm.com>2012-03-09 09:59:28 -0500
commit69d229ce28f0d19069197b9165dc7e3177b168f3 (patch)
tree3cee26f551f086ecde2fb2bcbf1ea69d237fe72c /src/cpu/ozone
parentda0d67c3d6468bedae93d14a9b7461e2b9d7a645 (diff)
downloadgem5-69d229ce28f0d19069197b9165dc7e3177b168f3.tar.xz
O3/Ozone: Eliminate dead code counting software prefetch insts
Eliminates dead code in the O3 and Ozone CPU models that counted software prefetch instructions separately for the ALPHA ISA only.
Diffstat (limited to 'src/cpu/ozone')
-rw-r--r--src/cpu/ozone/back_end_impl.hh10
-rw-r--r--src/cpu/ozone/lw_back_end_impl.hh10
2 files changed, 0 insertions, 20 deletions
diff --git a/src/cpu/ozone/back_end_impl.hh b/src/cpu/ozone/back_end_impl.hh
index 1df0cdf0e..9c9ca311e 100644
--- a/src/cpu/ozone/back_end_impl.hh
+++ b/src/cpu/ozone/back_end_impl.hh
@@ -1728,17 +1728,7 @@ BackEnd<Impl>::updateExeInstStats(DynInstPtr &inst)
{
ThreadID tid = inst->threadNumber;
- //
- // Pick off the software prefetches
- //
-#ifdef TARGET_ALPHA
- if (inst->isDataPrefetch())
- exe_swp[tid]++;
- else
- exe_inst[tid]++;
-#else
exe_inst[tid]++;
-#endif
//
// Control operations
diff --git a/src/cpu/ozone/lw_back_end_impl.hh b/src/cpu/ozone/lw_back_end_impl.hh
index 1570c86ee..cd23293b4 100644
--- a/src/cpu/ozone/lw_back_end_impl.hh
+++ b/src/cpu/ozone/lw_back_end_impl.hh
@@ -1469,17 +1469,7 @@ LWBackEnd<Impl>::updateExeInstStats(DynInstPtr &inst)
{
ThreadID tid = inst->threadNumber;
- //
- // Pick off the software prefetches
- //
-#ifdef TARGET_ALPHA
- if (inst->isDataPrefetch())
- exeSwp[tid]++;
- else
- exeInst[tid]++;
-#else
exeInst[tid]++;
-#endif
//
// Control operations