KVM: x86 emulator: implement MMX MOVQ (opcodes 0f 6f, 0f 7f)
authorAvi Kivity <avi@redhat.com>
Mon, 9 Apr 2012 15:40:03 +0000 (18:40 +0300)
committerMarcelo Tosatti <mtosatti@redhat.com>
Mon, 16 Apr 2012 23:36:16 +0000 (20:36 -0300)
Needed by some framebuffer drivers.  See

https://bugzilla.kernel.org/show_bug.cgi?id=42779

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/emulate.c

index 0011b4a..d5729a9 100644 (file)
@@ -3488,7 +3488,7 @@ static struct opcode group11[] = {
 };
 
 static struct gprefix pfx_0f_6f_0f_7f = {
-       N, I(Sse | Aligned, em_mov), N, I(Sse | Unaligned, em_mov),
+       I(Mmx, em_mov), I(Sse | Aligned, em_mov), N, I(Sse | Unaligned, em_mov),
 };
 
 static struct gprefix pfx_vmovntpx = {