From: Ali Saidi Date: Mon, 8 Jan 2007 22:11:10 +0000 (-0500) Subject: change when legion-lock causes the simulation to die. It now happens after two consuc... X-Git-Tag: m5_2.0_beta3~224^2~18 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a8b2d66661e4be7cf5d5856f75f3f0e7849c5a9f;p=gem5.git 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 --- 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;