small test optimisations

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@636 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
bellard 2004-02-22 13:41:47 +00:00
parent 537730b956
commit b88e4a9a3b
1 changed files with 2 additions and 2 deletions

View File

@ -524,7 +524,7 @@ PPC_OP(movl_T1_lr)
PPC_OP(test_ctr) PPC_OP(test_ctr)
{ {
T0 = (regs->ctr != 0); T0 = regs->ctr;
} }
PPC_OP(test_ctr_true) PPC_OP(test_ctr_true)
@ -554,7 +554,7 @@ PPC_OP(test_ctrz_false)
PPC_OP(test_true) PPC_OP(test_true)
{ {
T0 = ((T0 & PARAM(1)) != 0); T0 = (T0 & PARAM(1));
} }
PPC_OP(test_false) PPC_OP(test_false)