Commit 2d6187930509063b3103c76d200ced50639acdb6

Authored by bellard
1 parent 7c48011b

simplified end of page handling


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1443 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 6 deletions
target-ppc/translate.c
... ... @@ -3321,14 +3321,9 @@ int gen_intermediate_code_internal (CPUState *env, TranslationBlock *tb,
3321 3321 ctx.exception != EXCP_TRAP)) {
3322 3322 RET_EXCP(ctxp, EXCP_TRACE, 0);
3323 3323 }
3324   - if (ctx.exception != EXCP_NONE)
3325   - break;
3326 3324 /* if we reach a page boundary, stop generation */
3327   - if ((ctx.nip & (TARGET_PAGE_SIZE - 1)) == 0) {
3328   - gen_op_b((long)ctx.tb, ctx.nip);
3329   - ctx.exception = EXCP_BRANCH;
  3325 + if ((ctx.nip & (TARGET_PAGE_SIZE - 1)) == 0)
3330 3326 break;
3331   - }
3332 3327 }
3333 3328 if (ctx.exception == EXCP_NONE) {
3334 3329 gen_op_b((unsigned long)ctx.tb, ctx.nip);
... ...