From: Julian Seward Date: Wed, 19 Oct 2005 10:14:19 +0000 (+0000) Subject: Use standard syntax for the rlwinm. X-Git-Tag: svn/VALGRIND_3_1_0~286 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=073c102b95e3f200d496743c6cc99dd78dead7db;p=thirdparty%2Fvalgrind.git Use standard syntax for the rlwinm. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4946 --- diff --git a/coregrind/m_dispatch/dispatch-ppc32-linux.S b/coregrind/m_dispatch/dispatch-ppc32-linux.S index 78ac228db5..158cf29f9a 100644 --- a/coregrind/m_dispatch/dispatch-ppc32-linux.S +++ b/coregrind/m_dispatch/dispatch-ppc32-linux.S @@ -124,7 +124,8 @@ dispatch_boring: bdz counter_is_zero /* decrements ctr reg */ /* try a fast lookup in the translation cache */ - rlwinm 4,30,2,VG_TT_FAST_MASK<<2 /* r4=((r30<<2) & (MASK<<2)) */ + /* r4=((r30<<2) & (VG_TT_FAST_MASK<<2)) */ + rlwinm 4,30, 2, 32-2-VG_TT_FAST_BITS, 31-2 // CAB: use a caller-saved reg for this ? addis 5,4,VG_(tt_fast)@ha lwz 5,VG_(tt_fast)@l(5)