39a40
> #include "cpu/thread_context.hh"
45c46
< makeExtMI(MachInst inst, const uint64_t &pc) {
---
> makeExtMI(MachInst inst, ThreadContext * xc) {
48,49c49,50
< if (pc && 0x1)
< return ext_inst|=(static_cast<ExtMachInst>(pc & 0x1) << 32);
---
> if (xc->readPC() && 0x1)
> return ext_inst|=(static_cast<ExtMachInst>(xc->readPC() & 0x1) << 32);