aboutsummaryrefslogtreecommitdiff
path: root/target-ppc/op.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-10-30 21:39:19 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-10-30 21:39:19 +0000
commitc53be3347484b0f73deebcfa2e5faf538d6fa7c0 (patch)
tree6f996e28668f34c6496991c55a08dd5a32becf4e /target-ppc/op.c
parentd5d11eac6c853d10a9d97a279f1c69e0f0d66397 (diff)
suppressed JUMP_TB (Paul Brook)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1594 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc/op.c')
-rw-r--r--target-ppc/op.c18
1 files changed, 10 insertions, 8 deletions
diff --git a/target-ppc/op.c b/target-ppc/op.c
index 0e37119dac..4b0af5587c 100644
--- a/target-ppc/op.c
+++ b/target-ppc/op.c
@@ -451,9 +451,14 @@ PPC_OP(setlr)
regs->lr = PARAM1;
}
-PPC_OP(b)
+PPC_OP(goto_tb0)
{
- JUMP_TB(b1, PARAM1, 0, PARAM2);
+ GOTO_TB(op_goto_tb0, PARAM1, 0);
+}
+
+PPC_OP(goto_tb1)
+{
+ GOTO_TB(op_goto_tb1, PARAM1, 1);
}
PPC_OP(b_T1)
@@ -461,13 +466,10 @@ PPC_OP(b_T1)
regs->nip = T1 & ~3;
}
-PPC_OP(btest)
+PPC_OP(jz_T0)
{
- if (T0) {
- JUMP_TB(btest, PARAM1, 0, PARAM2);
- } else {
- JUMP_TB(btest, PARAM1, 1, PARAM3);
- }
+ if (!T0)
+ GOTO_LABEL_PARAM(1);
RETURN();
}