aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2010-03-06 18:33:53 +0100
committerAurelien Jarno <aurelien@aurel32.net>2010-03-06 19:40:06 +0100
commit7d5625d5f7c1550a41774bed699c0d9b3feeedec (patch)
tree4766d7277c9dc8100d92119ad189d95802356d40
parentcc21d131e347673564ccc10f9d30c9995f4b664e (diff)
target-i386: fix lddqu SSE instruction
This instruction load data from memory to register and not the reverse. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> (cherry picked from commit c22549204a6edc431e8e4358e61bd56386ff6957)
-rw-r--r--target-i386/translate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-i386/translate.c b/target-i386/translate.c
index 511a4eae9b..4ab226f436 100644
--- a/target-i386/translate.c
+++ b/target-i386/translate.c
@@ -3169,7 +3169,7 @@ static void gen_sse(DisasContext *s, int b, target_ulong pc_start, int rex_r)
if (mod == 3)
goto illegal_op;
gen_lea_modrm(s, modrm, &reg_addr, &offset_addr);
- gen_sto_env_A0(s->mem_index, offsetof(CPUX86State,xmm_regs[reg]));
+ gen_ldo_env_A0(s->mem_index, offsetof(CPUX86State,xmm_regs[reg]));
break;
case 0x22b: /* movntss */
case 0x32b: /* movntsd */