From: Mihai Donțu <[email protected]>

A previous patch added emulation support for these instructions with a
register source and memory destination. This patch adds the variants
with a memory source and a register destination.

Signed-off-by: Mihai Donțu <[email protected]>
Signed-off-by: Adalbert Lazăr <[email protected]>
---
 arch/x86/kvm/emulate.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c
index b42a71653622..a2e5e63bd94a 100644
--- a/arch/x86/kvm/emulate.c
+++ b/arch/x86/kvm/emulate.c
@@ -1184,6 +1184,10 @@ static u8 simd_prefix_to_bytes(const struct 
x86_emulate_ctxt *ctxt,
        u8 bytes = 16;
 
        switch (ctxt->b) {
+       case 0x10:
+               /* movss m32, xmm */
+               /* movsd m64, xmm */
+               /* movups m128, xmm */
        case 0x11:
                /* movss xmm, m32 */
                /* movsd xmm, m64 */
_______________________________________________
Virtualization mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

Reply via email to