change when legion-lock causes the simulation to die. It now happens after two consuc...
authorAli Saidi <saidi@eecs.umich.edu>
Mon, 8 Jan 2007 22:11:10 +0000 (17:11 -0500)
committerAli Saidi <saidi@eecs.umich.edu>
Mon, 8 Jan 2007 22:11:10 +0000 (17:11 -0500)
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

src/cpu/exetrace.cc

index 352a119586bfd536099eac4d559b7af7d258f072..6e0bf6d33ea312814539dba3b20a76288829fc30 100644 (file)
@@ -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;