Commit b88e4a9a3bf7cdd1528755bbd18ff3dc3cf6def6
1 parent
537730b9
small test optimisations
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@636 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
2 deletions
target-ppc/op.c
... | ... | @@ -524,7 +524,7 @@ PPC_OP(movl_T1_lr) |
524 | 524 | |
525 | 525 | PPC_OP(test_ctr) |
526 | 526 | { |
527 | - T0 = (regs->ctr != 0); | |
527 | + T0 = regs->ctr; | |
528 | 528 | } |
529 | 529 | |
530 | 530 | PPC_OP(test_ctr_true) |
... | ... | @@ -554,7 +554,7 @@ PPC_OP(test_ctrz_false) |
554 | 554 | |
555 | 555 | PPC_OP(test_true) |
556 | 556 | { |
557 | - T0 = ((T0 & PARAM(1)) != 0); | |
557 | + T0 = (T0 & PARAM(1)); | |
558 | 558 | } |
559 | 559 | |
560 | 560 | PPC_OP(test_false) | ... | ... |