Fix the ppc32 special-instruction magic sequence so it really does
preserve the value of r0, as claimed. Fixes #278808 (Valgrind side).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13797 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/include/valgrind.h b/include/valgrind.h
index 9c86548..365c6b9 100644
--- a/include/valgrind.h
+++ b/include/valgrind.h
@@ -450,8 +450,8 @@
OrigFn;
#define __SPECIAL_INSTRUCTION_PREAMBLE \
- "rlwinm 0,0,3,0,0 ; rlwinm 0,0,13,0,0\n\t" \
- "rlwinm 0,0,29,0,0 ; rlwinm 0,0,19,0,0\n\t"
+ "rlwinm 0,0,3,0,31 ; rlwinm 0,0,13,0,31\n\t" \
+ "rlwinm 0,0,29,0,31 ; rlwinm 0,0,19,0,31\n\t"
#define VALGRIND_DO_CLIENT_REQUEST_EXPR( \
_zzq_default, _zzq_request, \