Commit b40d0353b0d43517ba1ab1c07eb86a1cb27f87f9

Authored by balrog
1 parent a4ae00bc

Fix QADD / QSUB decoding on ARM (Torbjörn Andersson).


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5273 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 1 deletions
target-arm/translate.c
... ... @@ -5946,7 +5946,7 @@ static void disas_arm_insn(CPUState * env, DisasContext *s)
5946 5946 case 0x5: /* saturating add/subtract */
5947 5947 rd = (insn >> 12) & 0xf;
5948 5948 rn = (insn >> 16) & 0xf;
5949   - tmp = load_reg(s, rn);
  5949 + tmp = load_reg(s, rm);
5950 5950 tmp2 = load_reg(s, rn);
5951 5951 if (op1 & 2)
5952 5952 gen_helper_double_saturate(tmp2, tmp2);
... ...