|
From: <sv...@va...> - 2005-10-19 10:14:25
|
Author: sewardj
Date: 2005-10-19 11:14:19 +0100 (Wed, 19 Oct 2005)
New Revision: 4946
Log:
Use standard syntax for the rlwinm.
Modified:
trunk/coregrind/m_dispatch/dispatch-ppc32-linux.S
Modified: trunk/coregrind/m_dispatch/dispatch-ppc32-linux.S
=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_dispatch/dispatch-ppc32-linux.S 2005-10-19 01:32:41=
UTC (rev 4945)
+++ trunk/coregrind/m_dispatch/dispatch-ppc32-linux.S 2005-10-19 10:14:19=
UTC (rev 4946)
@@ -124,7 +124,8 @@
bdz counter_is_zero /* decrements ctr reg */
=20
/* try a fast lookup in the translation cache */
- rlwinm 4,30,2,VG_TT_FAST_MASK<<2 /* r4=3D((r30<<2) & (MASK<<2)=
) */
+ /* r4=3D((r30<<2) & (VG_TT_FAST_MASK<<2)) */
+ rlwinm 4,30, 2, 32-2-VG_TT_FAST_BITS, 31-2 =20
// CAB: use a caller-saved reg for this ?
addis 5,4,VG_(tt_fast)@ha
lwz 5,VG_(tt_fast)@l(5)
|