diff options
author | David 'Digit' Turner <digit@google.com> | 2009-05-20 11:58:50 +0200 |
---|---|---|
committer | David 'Digit' Turner <digit@google.com> | 2009-05-20 11:58:50 +0200 |
commit | 80562525ca945d9e921eb49f96d52f1b5a0e693d (patch) | |
tree | b9e16ea0e1e0c703e8f5939457d5e5b625a0d875 /target-arm | |
parent | 32c89b41d072a26efe06706871eecad7b1906c1a (diff) | |
download | external_qemu-80562525ca945d9e921eb49f96d52f1b5a0e693d.zip external_qemu-80562525ca945d9e921eb49f96d52f1b5a0e693d.tar.gz external_qemu-80562525ca945d9e921eb49f96d52f1b5a0e693d.tar.bz2 |
This should fix bad QADD/QDADD/QSUB/QDSUB emulation in the Android emulator
Diffstat (limited to 'target-arm')
-rw-r--r-- | target-arm/translate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-arm/translate.c b/target-arm/translate.c index 87bae82..23db9f7 100644 --- a/target-arm/translate.c +++ b/target-arm/translate.c @@ -6014,7 +6014,7 @@ static void disas_arm_insn(CPUState * env, DisasContext *s) case 0x5: /* saturating add/subtract */ rd = (insn >> 12) & 0xf; rn = (insn >> 16) & 0xf; - tmp = load_reg(s, rn); + tmp = load_reg(s, rm); tmp2 = load_reg(s, rn); if (op1 & 2) gen_helper_double_saturate(tmp2, tmp2); |