movddup fix
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 24 Apr 2006 20:14:56 +0000 (20:14 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 24 Apr 2006 20:14:56 +0000 (20:14 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1843 c046a42c-6fe2-441c-8c8c-71466251a162

target-i386/translate.c

index 6dcaf5d..a1b91d3 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 */