Update x86 decoder as per advise from Julian.
git-svn-id: svn://svn.valgrind.org/vex/trunk@3035 8f6e269a-dfd6-0310-a8e1-e2731360e62c
diff --git a/priv/guest_x86_toIR.c b/priv/guest_x86_toIR.c
index 1defdcb..be63fc4 100644
--- a/priv/guest_x86_toIR.c
+++ b/priv/guest_x86_toIR.c
@@ -11777,11 +11777,7 @@
/* 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];