Eliminates dead code in the O3 and Ozone CPU models that counted
software prefetch instructions separately for the ALPHA ISA only.
{
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
{
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();
{
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
{
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