From 694e83d6fb89b73d48c961b5a0003b1b831a6b27 Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Thu, 25 Jul 2002 22:41:40 +0000 Subject: [PATCH] Print more helpful message on JIT failure to handle insns starting with 0x0F. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@532 --- coregrind/vg_to_ucode.c | 4 ++++ vg_to_ucode.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/coregrind/vg_to_ucode.c b/coregrind/vg_to_ucode.c index c1ac7525fa..179c0592f5 100644 --- a/coregrind/vg_to_ucode.c +++ b/coregrind/vg_to_ucode.c @@ -4545,6 +4545,10 @@ static Addr disInstr ( UCodeBlock* cb, Addr eip, Bool* isEnd ) default: VG_(printf)("disInstr: unhandled 2-byte opcode 0x%x\n", (UInt)opc); + VG_(printf)("This _might_ be the result of executing an " + "MMX, SSE, SSE2 or 3DNow!\n" ); + VG_(printf)("instruction. Valgrind does not currently " + "support such instructions. Sorry.\n" ); VG_(unimplemented)("unhandled x86 0x0F 2-byte opcode"); } diff --git a/vg_to_ucode.c b/vg_to_ucode.c index c1ac7525fa..179c0592f5 100644 --- a/vg_to_ucode.c +++ b/vg_to_ucode.c @@ -4545,6 +4545,10 @@ static Addr disInstr ( UCodeBlock* cb, Addr eip, Bool* isEnd ) default: VG_(printf)("disInstr: unhandled 2-byte opcode 0x%x\n", (UInt)opc); + VG_(printf)("This _might_ be the result of executing an " + "MMX, SSE, SSE2 or 3DNow!\n" ); + VG_(printf)("instruction. Valgrind does not currently " + "support such instructions. Sorry.\n" ); VG_(unimplemented)("unhandled x86 0x0F 2-byte opcode"); } -- 2.47.2