|
From: <sv...@va...> - 2013-09-06 16:49:53
|
carll 2013-09-06 16:49:42 +0000 (Fri, 06 Sep 2013)
New Revision: 2753
Log:
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.
Modified files:
trunk/priv/guest_ppc_toIR.c
Modified: trunk/priv/guest_ppc_toIR.c (+2 -2)
===================================================================
--- trunk/priv/guest_ppc_toIR.c 2013-09-06 15:04:39 +00:00 (rev 2752)
+++ trunk/priv/guest_ppc_toIR.c 2013-09-06 16:49:42 +00:00 (rev 2753)
@@ -6741,10 +6741,10 @@
// 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
|