Track vex r1857 (addition of Imbe_SnoopedStoreBegin and

Imbe_SnoopedStoreEnd).



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8316
This commit is contained in:
Julian Seward 2008-06-30 10:32:54 +00:00
parent 22a7a01c8b
commit c75bc57408
2 changed files with 7 additions and 0 deletions

View File

@ -1059,10 +1059,12 @@ IRSB* drd_instrument(VgCallbackClosure* const closure,
case Imbe_Fence:
break; /* not interesting */
case Imbe_BusLock:
case Imbe_SnoopedStoreBegin:
tl_assert(! bus_locked);
bus_locked = True;
break;
case Imbe_BusUnlock:
case Imbe_SnoopedStoreEnd:
tl_assert(bus_locked);
bus_locked = False;
break;

View File

@ -7349,6 +7349,11 @@ static void instrument_mem_access ( IRSB* bbOut,
static void instrument_memory_bus_event ( IRSB* bbOut, IRMBusEvent event )
{
switch (event) {
case Imbe_SnoopedStoreBegin:
case Imbe_SnoopedStoreEnd:
/* These arise from ppc stwcx. insns. They should perhaps be
handled better. */
break;
case Imbe_Fence:
break; /* not interesting */
case Imbe_BusLock: