]> xenbits.xensource.com Git - qemu-xen-3.4-testing.git/commitdiff
movddup fix
authorbellard <bellard>
Mon, 24 Apr 2006 20:14:56 +0000 (20:14 +0000)
committerbellard <bellard>
Mon, 24 Apr 2006 20:14:56 +0000 (20:14 +0000)
target-i386/translate.c

index 6dcaf5d898599a9e92c7a232a5a6ae08f9547a92..a1b91d35394bf0b308061b36b440629acb6cf510 100644 (file)
@@ -2668,7 +2668,7 @@ static void gen_sse(DisasContext *s, int b, target_ulong pc_start, int rex_r)
                             offsetof(CPUX86State,xmm_regs[rm].XMM_Q(0)));
             }
             gen_op_movq(offsetof(CPUX86State,xmm_regs[reg].XMM_Q(1)),
-                        offsetof(CPUX86State,xmm_regs[rm].XMM_Q(0)));
+                        offsetof(CPUX86State,xmm_regs[reg].XMM_Q(0)));
             break;
         case 0x016: /* movhps */
         case 0x116: /* movhpd */