From 45d0a88198f04823b526fb0cf02b8ea8f6769428 Mon Sep 17 00:00:00 2001 From: Carl Love Date: Fri, 6 Sep 2013 16:49:42 +0000 Subject: [PATCH] The patch used the binary constants 0b10000 and 0b10001. The 0b designator is supported by the GCC extensions but not all compilers seem to support the 0b extension in GCC. Therefore, the binary constats were changed to their equivalent hex values as suggested by Florian. The Bugzilla for the change is 324518. git-svn-id: svn://svn.valgrind.org/vex/trunk@2753 --- VEX/priv/guest_ppc_toIR.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/VEX/priv/guest_ppc_toIR.c b/VEX/priv/guest_ppc_toIR.c index 25cb505d38..ab13815f44 100644 --- a/VEX/priv/guest_ppc_toIR.c +++ b/VEX/priv/guest_ppc_toIR.c @@ -6741,10 +6741,10 @@ static Bool dis_cache_manage ( UInt theInstr, // ISA 2.07. If valid, then we simply set b21to25 to zero since we have no // means of modeling the hint anyway. if (opc1 == 0x1F && ((opc2 == 0x116) || (opc2 == 0xF6))) { - if (b21to25 == 0b10000 || b21to25 < 0b10000) + if (b21to25 == 0x10 || b21to25 < 0x10) b21to25 = 0; } - if (opc1 == 0x1F && opc2 == 0x116 && b21to25 == 0b10001) + if (opc1 == 0x1F && opc2 == 0x116 && b21to25 == 0x11) b21to25 = 0; if (opc1 == 0x1F && opc2 == 0x3F6) { // dcbz -- 2.47.2