|
From: Florian K. <fl...@ei...> - 2015-09-12 18:50:30
|
Carl,
while looking at the vbit-test failure on ppc32 I noticed that in
guest_ppc_toIR.c all dis_dfp_XYZZY functions are guarded by
if (!allow_DFP) goto decode_noDFP
except the two below. An oversight ?
Florian
Index: VEX/priv/guest_ppc_toIR.c
===================================================================
--- VEX/priv/guest_ppc_toIR.c (revision 3187)
+++ VEX/priv/guest_ppc_toIR.c (working copy)
@@ -19172,6 +19172,7 @@
case 0x322: // POWER 7 inst, dcffix - DFP convert from fixed
if (!allow_VX)
goto decode_failure;
+ if (!allow_DFP) goto decode_noDFP;
if (dis_dfp_fmt_conv( theInstr ))
goto decode_success;
goto decode_failure;
@@ -19598,6 +19599,7 @@
goto decode_success;
goto decode_failure;
case 0xA2: // dtstexq - DFP Test exponent Quad
+ if (!allow_DFP) goto decode_noDFP;
if (dis_dfp_exponent_test( theInstr ) )
goto decode_success;
goto decode_failure;
|