diff options
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/exetrace.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cpu/exetrace.cc b/src/cpu/exetrace.cc index 113f0fe74..a2e6d2d33 100644 --- a/src/cpu/exetrace.cc +++ b/src/cpu/exetrace.cc @@ -247,8 +247,10 @@ Trace::InstRecord::dump(ostream &outs) if (shared_data->flags == OWN_M5) { if (lgnPc != m5Pc) diffPC = true; - if (shared_data->instruction != staticInst->machInst) + if (shared_data->instruction != + (SparcISA::MachInst)staticInst->machInst) { diffInst = true; + } for (int i = 0; i < TheISA::NumRegularIntRegs; i++) { if (thread->readIntReg(i) != shared_data->intregs[i]) { diffRegs = true; |