|
From: <sv...@va...> - 2005-12-22 15:16:47
|
Author: sewardj
Date: 2005-12-22 15:16:43 +0000 (Thu, 22 Dec 2005)
New Revision: 5404
Log:
When switching threads on ppc64, clear the reservation pseudo-reg, as on =
ppc32.
Modified:
trunk/coregrind/m_scheduler/scheduler.c
Modified: trunk/coregrind/m_scheduler/scheduler.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/m_scheduler/scheduler.c 2005-12-22 08:08:01 UTC (rev =
5403)
+++ trunk/coregrind/m_scheduler/scheduler.c 2005-12-22 15:16:43 UTC (rev =
5404)
@@ -395,7 +395,7 @@
vg_assert(sz_spill =3D=3D LibVEX_N_SPILL_BYTES);
vg_assert(a_vex + 2 * sz_vex =3D=3D a_spill);
=20
-# if defined(VGA_ppc32)
+# if defined(VGA_ppc32) || defined(VGA_ppc64)
/* This is necessary due to the hacky way vex models reservations
on ppc. It's really quite incorrect for each thread to have its
own reservation flag/address, since it's really something that
|