x86emul: suppress alignment check for {,v}mov{d,q}

When introducing support for these instructions, adjustment for the
alignment check logic (generating #GP(0)) was overlooked.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Release-acked-by: Wei Liu <wei.liu2@citrix.com>
This commit is contained in:
Jan Beulich authored and Wei Liu committed 2016-11-12 06:45:16 +00:00
1 parent 043ad80d4f
commit 8dd7b8a893
1 file changed
+1 -1
+1 -1
View File
@@ -4940,7 +4940,7 @@ x86_emulate(
{
uint32_t mxcsr = 0;
if ( vex.pfx != vex_66 )
if ( ea.bytes < 16 || vex.pfx == vex_f3 )
mxcsr = MXCSR_MM;
else if ( vcpu_has_misalignsse() )
asm ( "stmxcsr %0" : "=m" (mxcsr) );
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.