diff options
| author | bellard | 2004-02-22 14:41:47 +0100 |
|---|---|---|
| committer | bellard | 2004-02-22 14:41:47 +0100 |
| commit | b88e4a9a3bf7cdd1528755bbd18ff3dc3cf6def6 (patch) | |
| tree | d07b00247e550be4e892352561193cbbf52e9437 /target-ppc | |
| parent | zero offset optimisation (diff) | |
| download | qemu-b88e4a9a3bf7cdd1528755bbd18ff3dc3cf6def6.tar.gz qemu-b88e4a9a3bf7cdd1528755bbd18ff3dc3cf6def6.tar.xz qemu-b88e4a9a3bf7cdd1528755bbd18ff3dc3cf6def6.zip | |
small test optimisations
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@636 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc')
| -rw-r--r-- | target-ppc/op.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target-ppc/op.c b/target-ppc/op.c index 94ead452f1..e47e245af4 100644 --- a/target-ppc/op.c +++ b/target-ppc/op.c @@ -524,7 +524,7 @@ PPC_OP(movl_T1_lr) PPC_OP(test_ctr) { - T0 = (regs->ctr != 0); + T0 = regs->ctr; } PPC_OP(test_ctr_true) @@ -554,7 +554,7 @@ PPC_OP(test_ctrz_false) PPC_OP(test_true) { - T0 = ((T0 & PARAM(1)) != 0); + T0 = (T0 & PARAM(1)); } PPC_OP(test_false) |
