|
|
1af9e5 |
diff --git a/VEX/priv/guest_ppc_toIR.c b/VEX/priv/guest_ppc_toIR.c
|
|
|
1af9e5 |
index e16e837..a8d4926 100644
|
|
|
1af9e5 |
--- a/VEX/priv/guest_ppc_toIR.c
|
|
|
1af9e5 |
+++ b/VEX/priv/guest_ppc_toIR.c
|
|
|
1af9e5 |
@@ -29356,62 +29356,70 @@ DisResult disInstr_PPC_WRK (
|
|
|
1af9e5 |
|
|
|
1af9e5 |
decode_noF:
|
|
|
1af9e5 |
vassert(!allow_F);
|
|
|
1af9e5 |
- vex_printf("disInstr(ppc): found the Floating Point instruction 0x%x that\n"
|
|
|
1af9e5 |
- "can't be handled by Valgrind on this host. This instruction\n"
|
|
|
1af9e5 |
- "requires a host that supports Floating Point instructions.\n",
|
|
|
1af9e5 |
- theInstr);
|
|
|
1af9e5 |
+ if (sigill_diag)
|
|
|
1af9e5 |
+ vex_printf("disInstr(ppc): found the Floating Point instruction 0x%x that\n"
|
|
|
1af9e5 |
+ "can't be handled by Valgrind on this host. This instruction\n"
|
|
|
1af9e5 |
+ "requires a host that supports Floating Point instructions.\n",
|
|
|
1af9e5 |
+ theInstr);
|
|
|
1af9e5 |
goto not_supported;
|
|
|
1af9e5 |
decode_noV:
|
|
|
1af9e5 |
vassert(!allow_V);
|
|
|
1af9e5 |
- vex_printf("disInstr(ppc): found an AltiVec or an e500 instruction 0x%x\n"
|
|
|
1af9e5 |
- "that can't be handled by Valgrind. If this instruction is an\n"
|
|
|
1af9e5 |
- "Altivec instruction, Valgrind must be run on a host that supports"
|
|
|
1af9e5 |
- "AltiVec instructions. If the application was compiled for e500, then\n"
|
|
|
1af9e5 |
- "unfortunately Valgrind does not yet support e500 instructions.\n",
|
|
|
1af9e5 |
- theInstr);
|
|
|
1af9e5 |
+ if (sigill_diag)
|
|
|
1af9e5 |
+ vex_printf("disInstr(ppc): found an AltiVec or an e500 instruction 0x%x\n"
|
|
|
1af9e5 |
+ "that can't be handled by Valgrind. If this instruction is an\n"
|
|
|
1af9e5 |
+ "Altivec instruction, Valgrind must be run on a host that supports"
|
|
|
1af9e5 |
+ "AltiVec instructions. If the application was compiled for e500, then\n"
|
|
|
1af9e5 |
+ "unfortunately Valgrind does not yet support e500 instructions.\n",
|
|
|
1af9e5 |
+ theInstr);
|
|
|
1af9e5 |
goto not_supported;
|
|
|
1af9e5 |
decode_noVX:
|
|
|
1af9e5 |
vassert(!allow_VX);
|
|
|
1af9e5 |
- vex_printf("disInstr(ppc): found the instruction 0x%x that is defined in the\n"
|
|
|
1af9e5 |
- "Power ISA 2.06 ABI but can't be handled by Valgrind on this host.\n"
|
|
|
1af9e5 |
- "This instruction \nrequires a host that supports the ISA 2.06 ABI.\n",
|
|
|
1af9e5 |
- theInstr);
|
|
|
1af9e5 |
+ if (sigill_diag)
|
|
|
1af9e5 |
+ vex_printf("disInstr(ppc): found the instruction 0x%x that is defined in the\n"
|
|
|
1af9e5 |
+ "Power ISA 2.06 ABI but can't be handled by Valgrind on this host.\n"
|
|
|
1af9e5 |
+ "This instruction \nrequires a host that supports the ISA 2.06 ABI.\n",
|
|
|
1af9e5 |
+ theInstr);
|
|
|
1af9e5 |
goto not_supported;
|
|
|
1af9e5 |
decode_noFX:
|
|
|
1af9e5 |
vassert(!allow_FX);
|
|
|
1af9e5 |
- vex_printf("disInstr(ppc): found the General Purpose-Optional instruction 0x%x\n"
|
|
|
1af9e5 |
- "that can't be handled by Valgrind on this host. This instruction\n"
|
|
|
1af9e5 |
- "requires a host that supports the General Purpose-Optional instructions.\n",
|
|
|
1af9e5 |
- theInstr);
|
|
|
1af9e5 |
+ if (sigill_diag)
|
|
|
1af9e5 |
+ vex_printf("disInstr(ppc): found the General Purpose-Optional instruction 0x%x\n"
|
|
|
1af9e5 |
+ "that can't be handled by Valgrind on this host. This instruction\n"
|
|
|
1af9e5 |
+ "requires a host that supports the General Purpose-Optional instructions.\n",
|
|
|
1af9e5 |
+ theInstr);
|
|
|
1af9e5 |
goto not_supported;
|
|
|
1af9e5 |
decode_noGX:
|
|
|
1af9e5 |
vassert(!allow_GX);
|
|
|
1af9e5 |
- vex_printf("disInstr(ppc): found the Graphics-Optional instruction 0x%x\n"
|
|
|
1af9e5 |
- "that can't be handled by Valgrind on this host. This instruction\n"
|
|
|
1af9e5 |
- "requires a host that supports the Graphic-Optional instructions.\n",
|
|
|
1af9e5 |
- theInstr);
|
|
|
1af9e5 |
+ if (sigill_diag)
|
|
|
1af9e5 |
+ vex_printf("disInstr(ppc): found the Graphics-Optional instruction 0x%x\n"
|
|
|
1af9e5 |
+ "that can't be handled by Valgrind on this host. This instruction\n"
|
|
|
1af9e5 |
+ "requires a host that supports the Graphic-Optional instructions.\n",
|
|
|
1af9e5 |
+ theInstr);
|
|
|
1af9e5 |
goto not_supported;
|
|
|
1af9e5 |
decode_noDFP:
|
|
|
1af9e5 |
vassert(!allow_DFP);
|
|
|
1af9e5 |
- vex_printf("disInstr(ppc): found the decimal floating point (DFP) instruction 0x%x\n"
|
|
|
1af9e5 |
- "that can't be handled by Valgrind on this host. This instruction\n"
|
|
|
1af9e5 |
- "requires a host that supports DFP instructions.\n",
|
|
|
1af9e5 |
- theInstr);
|
|
|
1af9e5 |
+ if (sigill_diag)
|
|
|
1af9e5 |
+ vex_printf("disInstr(ppc): found the decimal floating point (DFP) instruction 0x%x\n"
|
|
|
1af9e5 |
+ "that can't be handled by Valgrind on this host. This instruction\n"
|
|
|
1af9e5 |
+ "requires a host that supports DFP instructions.\n",
|
|
|
1af9e5 |
+ theInstr);
|
|
|
1af9e5 |
goto not_supported;
|
|
|
1af9e5 |
decode_noP8:
|
|
|
1af9e5 |
vassert(!allow_isa_2_07);
|
|
|
1af9e5 |
- vex_printf("disInstr(ppc): found the Power 8 instruction 0x%x that can't be handled\n"
|
|
|
1af9e5 |
- "by Valgrind on this host. This instruction requires a host that\n"
|
|
|
1af9e5 |
- "supports Power 8 instructions.\n",
|
|
|
1af9e5 |
- theInstr);
|
|
|
1af9e5 |
+ if (sigill_diag)
|
|
|
1af9e5 |
+ vex_printf("disInstr(ppc): found the Power 8 instruction 0x%x that can't be handled\n"
|
|
|
1af9e5 |
+ "by Valgrind on this host. This instruction requires a host that\n"
|
|
|
1af9e5 |
+ "supports Power 8 instructions.\n",
|
|
|
1af9e5 |
+ theInstr);
|
|
|
1af9e5 |
goto not_supported;
|
|
|
1af9e5 |
|
|
|
1af9e5 |
decode_noP9:
|
|
|
1af9e5 |
vassert(!allow_isa_3_0);
|
|
|
1af9e5 |
- vex_printf("disInstr(ppc): found the Power 9 instruction 0x%x that can't be handled\n"
|
|
|
1af9e5 |
- "by Valgrind on this host. This instruction requires a host that\n"
|
|
|
1af9e5 |
- "supports Power 9 instructions.\n",
|
|
|
1af9e5 |
- theInstr);
|
|
|
1af9e5 |
+ if (sigill_diag)
|
|
|
1af9e5 |
+ vex_printf("disInstr(ppc): found the Power 9 instruction 0x%x that can't be handled\n"
|
|
|
1af9e5 |
+ "by Valgrind on this host. This instruction requires a host that\n"
|
|
|
1af9e5 |
+ "supports Power 9 instructions.\n",
|
|
|
1af9e5 |
+ theInstr);
|
|
|
1af9e5 |
goto not_supported;
|
|
|
1af9e5 |
|
|
|
1af9e5 |
decode_failure:
|