diff options
Diffstat (limited to 'cpu/simple')
-rw-r--r-- | cpu/simple/cpu.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/simple/cpu.cc b/cpu/simple/cpu.cc index 1164e35a4..c5e12990b 100644 --- a/cpu/simple/cpu.cc +++ b/cpu/simple/cpu.cc @@ -738,7 +738,7 @@ SimpleCPU::tick() comInstEventQueue[0]->serviceEvents(numInst); // decode the instruction - inst = htoa(inst); + inst = gtoh(inst); curStaticInst = StaticInst<TheISA>::decode(inst); traceData = Trace::getInstRecord(curTick, xc, this, curStaticInst, |