changeset 07352f119e48 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=07352f119e48
description:
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.
diffstat:
src/cpu/o3/fetch_impl.hh | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff -r 745e42ffcc80 -r 07352f119e48 src/cpu/o3/fetch_impl.hh
--- a/src/cpu/o3/fetch_impl.hh Fri Apr 19 09:04:42 2013 -0400
+++ b/src/cpu/o3/fetch_impl.hh Mon Apr 22 13:20:31 2013 -0400
@@ -1049,7 +1049,8 @@
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;
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev