|
From: <sv...@va...> - 2014-12-09 20:09:49
|
Author: florian
Date: Tue Dec 9 20:09:42 2014
New Revision: 3035
Log:
Update x86 decoder as per advise from Julian.
Modified:
trunk/priv/guest_x86_toIR.c
Modified: trunk/priv/guest_x86_toIR.c
==============================================================================
--- trunk/priv/guest_x86_toIR.c (original)
+++ trunk/priv/guest_x86_toIR.c Tue Dec 9 20:09:42 2014
@@ -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];
|