Use that method to avoid reading the machInst.
Change-Id: I11434206c0b7a1aa3793aa46b5056ad60a64b01c
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/40100
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com>
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu>
Tested-by: kokoro <noreply+kokoro@google.com>
bool predicate)
: taken(predicate) ,
addr(pc.instAddr()) ,
- opcode(staticInst->machInst & 0xffffffff),
+ opcode(staticInst->getEMI() & 0xffffffff),
disassemble(staticInst->disassemble(addr)),
isetstate(pcToISetState(pc)),
mode(MODE_USER)
outs << "\nMismatch between gem5 and TARMAC trace @ " << std::dec
<< curTick() << " ticks\n"
<< "[seq_num: " << std::dec << instRecord.seq_num
- << ", opcode: 0x" << std::hex << (staticInst->machInst & 0xffffffff)
+ << ", opcode: 0x" << std::hex << (staticInst->getEMI() & 0xffffffff)
<< ", PC: 0x" << pc.pc()
<< ", disasm: " << staticInst->disassemble(pc.pc()) << "]"
<< std::endl;
regs_str << ',';
}
- ccprintf(regs_str, " extMachInst=%160x", staticInst->machInst);
+ ccprintf(regs_str, " extMachInst=%160x", staticInst->getEMI());
}
std::ostringstream flags;