cpu: fix a switching issue with the o3 cpu.
This change fixes the switcheroo test that broke earlier this month. The code that was checking for the pipeline being blocked wasn't checking for a pending translation, only for a icache access.
This commit is contained in:
parent
f4fd12d49e
commit
f205d83359
1 changed files with 2 additions and 1 deletions
|
@ -1048,7 +1048,8 @@ DefaultFetch<Impl>::checkSignalsAndUpdate(ThreadID tid)
|
|||
|
||||
if (checkStall(tid) &&
|
||||
fetchStatus[tid] != IcacheWaitResponse &&
|
||||
fetchStatus[tid] != IcacheWaitRetry) {
|
||||
fetchStatus[tid] != IcacheWaitRetry &&
|
||||
fetchStatus[tid] != ItlbWait) {
|
||||
DPRINTF(Fetch, "[tid:%i]: Setting to blocked\n",tid);
|
||||
|
||||
fetchStatus[tid] = Blocked;
|
||||
|
|
Loading…
Reference in a new issue