]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
The patch used the binary constants 0b10000 and 0b10001. The 0b designator
authorCarl Love <cel@us.ibm.com>
Fri, 6 Sep 2013 16:49:42 +0000 (16:49 +0000)
committerCarl Love <cel@us.ibm.com>
Fri, 6 Sep 2013 16:49:42 +0000 (16:49 +0000)
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

index 25cb505d38315b39979f1761b6f3845650ae35b5..ab13815f443a599ab26a7b62903eb5db65f2ac9c 100644 (file)
@@ -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