]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Update x86 decoder as per advise from Julian.
authorFlorian Krohm <florian@eich-krohm.de>
Tue, 9 Dec 2014 20:09:42 +0000 (20:09 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Tue, 9 Dec 2014 20:09:42 +0000 (20:09 +0000)
git-svn-id: svn://svn.valgrind.org/vex/trunk@3035

VEX/priv/guest_x86_toIR.c

index 1defdcb467ed059f6fcba33213adb08a0fc3e688..be63fc49f371e5749c09522d2ac25ec16696c618 100644 (file)
@@ -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];