summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2007-01-08 17:11:10 -0500
committerAli Saidi <saidi@eecs.umich.edu>2007-01-08 17:11:10 -0500
commita8b2d66661e4be7cf5d5856f75f3f0e7849c5a9f (patch)
treedb9c3775e71f38e9f7ad2386073e02dee9d4a956 /src
parent2f4239a68539916a3822fa76346f9487c39304f3 (diff)
downloadgem5-a8b2d66661e4be7cf5d5856f75f3f0e7849c5a9f.tar.xz
change when legion-lock causes the simulation to die. It now happens after two consuctive differences since we compare stuff
at slightly different times interrupts are seen the cycle before they happen in m5 so the pc gets changed early. --HG-- extra : convert_revision : f237363eababb2aad67e5b41670cf40be048a042
Diffstat (limited to 'src')
-rw-r--r--src/cpu/exetrace.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cpu/exetrace.cc b/src/cpu/exetrace.cc
index 352a11958..6e0bf6d33 100644
--- a/src/cpu/exetrace.cc
+++ b/src/cpu/exetrace.cc
@@ -609,7 +609,8 @@ Trace::InstRecord::dump(ostream &outs)
diffcount++;
if (diffcount > 2)
fatal("Differences found between Legion and M5\n");
- }
+ } else
+ diffcount = 0;
compared = true;
shared_data->flags = OWN_LEGION;