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.
This commit is contained in:
@@ -1365,22 +1365,9 @@ DefaultCommit<Impl>::updateComInstStats(DynInstPtr &inst)
|
||||
{
|
||||
ThreadID tid = inst->threadNumber;
|
||||
|
||||
//
|
||||
// Pick off the software prefetches
|
||||
//
|
||||
#ifdef TARGET_ALPHA
|
||||
if (inst->isDataPrefetch()) {
|
||||
statComSwp[tid]++;
|
||||
} else {
|
||||
if (!inst->isMicroop() || inst->isLastMicroop())
|
||||
instsCommitted[tid]++;
|
||||
opsCommitted[tid]++;
|
||||
}
|
||||
#else
|
||||
if (!inst->isMicroop() || inst->isLastMicroop())
|
||||
instsCommitted[tid]++;
|
||||
opsCommitted[tid]++;
|
||||
#endif
|
||||
|
||||
//
|
||||
// Control Instructions
|
||||
|
||||
@@ -1614,17 +1614,7 @@ DefaultIEW<Impl>::updateExeInstStats(DynInstPtr &inst)
|
||||
{
|
||||
ThreadID tid = inst->threadNumber;
|
||||
|
||||
//
|
||||
// Pick off the software prefetches
|
||||
//
|
||||
#ifdef TARGET_ALPHA
|
||||
if (inst->isDataPrefetch())
|
||||
iewExecutedSwp[tid]++;
|
||||
else
|
||||
iewIewExecutedcutedInsts++;
|
||||
#else
|
||||
iewExecutedInsts++;
|
||||
#endif
|
||||
|
||||
#if TRACING_ON
|
||||
inst->completeTick = curTick();
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user