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
5dd23833fd
commit
c9e4678c16
|
@ -1049,7 +1049,8 @@ DefaultFetch<Impl>::checkSignalsAndUpdate(ThreadID tid)
|
|||
if (checkStall(tid) &&
|
||||
fetchStatus[tid] != IcacheWaitResponse &&
|
||||
fetchStatus[tid] != IcacheWaitRetry &&
|
||||
fetchStatus[tid] != ItlbWait) {
|
||||
fetchStatus[tid] != ItlbWait &&
|
||||
fetchStatus[tid] != QuiescePending) {
|
||||
DPRINTF(Fetch, "[tid:%i]: Setting to blocked\n",tid);
|
||||
|
||||
fetchStatus[tid] = Blocked;
|
||||
|
|
Loading…
Reference in a new issue