diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2010-03-06 18:33:53 +0100 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-03-06 18:33:53 +0100 |
commit | c22549204a6edc431e8e4358e61bd56386ff6957 (patch) | |
tree | 784b5bc31688e43b1c93fbce3788b51ce6e58dd0 | |
parent | a0acb46c72e52a3280c698308907223132323a84 (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>
-rw-r--r-- | target-i386/translate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-i386/translate.c b/target-i386/translate.c index a597e80b9f..525a83b744 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, ®_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 */ |