changeset 5bb4346cbfa7 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=5bb4346cbfa7
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 cac6e95e236c -r 5bb4346cbfa7 src/cpu/o3/fetch_impl.hh
--- a/src/cpu/o3/fetch_impl.hh Mon Mar 04 23:33:47 2013 -0500
+++ b/src/cpu/o3/fetch_impl.hh Mon Mar 04 23:33:47 2013 -0500
@@ -1048,7 +1048,8 @@
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;
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev