summaryrefslogtreecommitdiffstats
path: root/target-sparc/translate.c
diff options
context:
space:
mode:
authorblueswir12007-10-10 21:11:54 +0200
committerblueswir12007-10-10 21:11:54 +0200
commit90251fb96e9feba205ee4867cbfe21e0142ad341 (patch)
tree535f3e3e397b92d5adf9da7329bb42100f7a4e17 /target-sparc/translate.c
parent Support for executing 32 bit SPARC32PLUS files for Sparc64 user emulator (diff)
downloadqemu-90251fb96e9feba205ee4867cbfe21e0142ad341.tar.gz
qemu-90251fb96e9feba205ee4867cbfe21e0142ad341.tar.xz
qemu-90251fb96e9feba205ee4867cbfe21e0142ad341.zip
Fix taddcctv and tsubcctv (David Matthews)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3379 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sparc/translate.c')
-rw-r--r--target-sparc/translate.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/target-sparc/translate.c b/target-sparc/translate.c
index 1a6d56ac40..27c22ede59 100644
--- a/target-sparc/translate.c
+++ b/target-sparc/translate.c
@@ -2027,10 +2027,12 @@ static void disas_sparc_insn(DisasContext * dc)
gen_movl_T0_reg(rd);
break;
case 0x22: /* taddcctv */
+ save_state(dc);
gen_op_tadd_T1_T0_ccTV();
gen_movl_T0_reg(rd);
break;
case 0x23: /* tsubcctv */
+ save_state(dc);
gen_op_tsub_T1_T0_ccTV();
gen_movl_T0_reg(rd);
break;