mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
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:
1 parent
043ad80d4f
commit
8dd7b8a893
1 file changed
+1
-1
@@ -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) );
|
||||
|
||||