From: Florian Krohm Date: Tue, 9 Dec 2014 20:09:42 +0000 (+0000) Subject: Update x86 decoder as per advise from Julian. X-Git-Tag: svn/VALGRIND_3_11_0^2~139 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d4c53bd7391fe11f8d077335c7df6062072c363;p=thirdparty%2Fvalgrind.git Update x86 decoder as per advise from Julian. git-svn-id: svn://svn.valgrind.org/vex/trunk@3035 --- diff --git a/VEX/priv/guest_x86_toIR.c b/VEX/priv/guest_x86_toIR.c index 1defdcb467..be63fc49f3 100644 --- a/VEX/priv/guest_x86_toIR.c +++ b/VEX/priv/guest_x86_toIR.c @@ -11777,11 +11777,7 @@ DisResult disInstr_X86_WRK ( /* Skip parts of the decoder which don't apply given the stated guest subarchitecture. */ - /* if (0 == (archinfo->hwcaps & VEX_HWCAPS_X86_SSE3)) */ - /* In fact this is highly bogus; we accept SSE3 insns even on a - SSE2-only guest since they turn into IR which can be re-emitted - successfully on an SSE2 host. */ - if (0 == (archinfo->hwcaps & VEX_HWCAPS_X86_SSE2)) + if (0 == (archinfo->hwcaps & VEX_HWCAPS_X86_SSE3)) goto after_sse_decoders; /* no SSE3 capabilities */ insn = &guest_code[delta];