aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2014-07-14 06:54:48 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2014-08-29 08:57:59 -0400
commitd5b77069701600b8189d3b4409b69f23ac4f5bc2 (patch)
treea063922dbbb0a63617c3ac5582daff555dc0388d
parent0a37027e83f867793af0ccb9176a6b383dd0b7c8 (diff)
KVM: x86: remove Aligned bit from movntps/movntpd
These are not explicitly aligned, and do not require alignment on AVX. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r--arch/x86/kvm/emulate.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c
index 0892622f9258..20d91873d831 100644
--- a/arch/x86/kvm/emulate.c
+++ b/arch/x86/kvm/emulate.c
@@ -3688,8 +3688,8 @@ static const struct gprefix pfx_0f_6f_0f_7f = {
3688 I(Mmx, em_mov), I(Sse | Aligned, em_mov), N, I(Sse | Unaligned, em_mov), 3688 I(Mmx, em_mov), I(Sse | Aligned, em_mov), N, I(Sse | Unaligned, em_mov),
3689}; 3689};
3690 3690
3691static const struct gprefix pfx_vmovntpx = { 3691static const struct gprefix pfx_0f_2b = {
3692 I(0, em_mov), N, N, N, 3692 I(0, em_mov), I(0, em_mov), N, N,
3693}; 3693};
3694 3694
3695static const struct gprefix pfx_0f_28_0f_29 = { 3695static const struct gprefix pfx_0f_28_0f_29 = {
@@ -3906,7 +3906,7 @@ static const struct opcode twobyte_table[256] = {
3906 N, N, N, N, 3906 N, N, N, N,
3907 GP(ModRM | DstReg | SrcMem | Mov | Sse, &pfx_0f_28_0f_29), 3907 GP(ModRM | DstReg | SrcMem | Mov | Sse, &pfx_0f_28_0f_29),
3908 GP(ModRM | DstMem | SrcReg | Mov | Sse, &pfx_0f_28_0f_29), 3908 GP(ModRM | DstMem | SrcReg | Mov | Sse, &pfx_0f_28_0f_29),
3909 N, GP(ModRM | DstMem | SrcReg | Sse | Mov | Aligned, &pfx_vmovntpx), 3909 N, GP(ModRM | DstMem | SrcReg | Mov | Sse, &pfx_0f_2b),
3910 N, N, N, N, 3910 N, N, N, N,
3911 /* 0x30 - 0x3F */ 3911 /* 0x30 - 0x3F */
3912 II(ImplicitOps | Priv, em_wrmsr, wrmsr), 3912 II(ImplicitOps | Priv, em_wrmsr, wrmsr),