summaryrefslogtreecommitdiffstats
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 18:33:53 +0100
commitc22549204a6edc431e8e4358e61bd56386ff6957 (patch)
tree784b5bc31688e43b1c93fbce3788b51ce6e58dd0
parenta0acb46c72e52a3280c698308907223132323a84 (diff)
downloadhqemu-c22549204a6edc431e8e4358e61bd56386ff6957.zip
hqemu-c22549204a6edc431e8e4358e61bd56386ff6957.tar.gz
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>
-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 a597e80..525a83b 100644
--- a/target-i386/translate.c
+++ b/target-i386/translate.c
@@ -3167,7 +3167,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 */
OpenPOWER on IntegriCloud