Skip to content

Commit

Permalink
target-s390: Tidy unconditional BRCL
Browse files Browse the repository at this point in the history
Yes, we're about to rewrite all of this, but having this unconditional
jump recompute cc_op is a large source of "false diff errors" when
trying to examine before and after dumps.

Signed-off-by: Richard Henderson <[email protected]>
  • Loading branch information
rth7680 committed Jan 5, 2013
1 parent 9d126fa commit 2f22e2e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions target-s390x/translate.c
Original file line number Diff line number Diff line change
Expand Up @@ -3706,6 +3706,11 @@ static void disas_c0(CPUS390XState *env, DisasContext *s, int op, int r1, int i2
tcg_temp_free_i64(tmp);
break;
case 0x4: /* BRCL M1,I2 [RIL] */
if (r1 == 15) { /* m1 == r1 */
gen_goto_tb(s, 0, target);
s->is_jmp = DISAS_TB_JUMP;
break;
}
/* m1 & (1 << (3 - cc)) */
tmp32_1 = tcg_const_i32(3);
tmp32_2 = tcg_const_i32(1);
Expand Down

0 comments on commit 2f22e2e

Please sign in to comment.