diff options
Diffstat (limited to 'src/cpu/simple')
-rw-r--r-- | src/cpu/simple/base.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/cpu/simple/base.cc b/src/cpu/simple/base.cc index da50a3eb0..a8fe57f0a 100644 --- a/src/cpu/simple/base.cc +++ b/src/cpu/simple/base.cc @@ -380,10 +380,8 @@ BaseSimpleCPU::preExecute() //This should go away once the constructor can be set up properly predecoder.setTC(thread->getTC()); //If more fetch data is needed, pass it in. - const Addr PCMask = ~((Addr)sizeof(MachInst) - 1); if(predecoder.needMoreBytes()) - predecoder.moreBytes((thread->readPC() & PCMask) + fetchOffset, - 0, inst); + predecoder.moreBytes(thread->readPC() + fetchOffset, 0, inst); else predecoder.process(); |