diff options
author | Richard Henderson <rth@twiddle.net> | 2012-09-22 05:28:43 -0700 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2013-01-05 12:00:27 -0800 |
commit | 2f22e2ec79c07de03016adefb166cf01745fc852 (patch) | |
tree | b30170cf0c1eedad1cf0fa5d7b5d34f3acd8e4d7 | |
parent | 9d126faf4279b324d5c4cdf09a3570d4a2041626 (diff) | |
download | qemu-2f22e2ec79c07de03016adefb166cf01745fc852.zip qemu-2f22e2ec79c07de03016adefb166cf01745fc852.tar.gz qemu-2f22e2ec79c07de03016adefb166cf01745fc852.tar.bz2 |
target-s390: Tidy unconditional BRCL
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 <rth@twiddle.net>
-rw-r--r-- | target-s390x/translate.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/target-s390x/translate.c b/target-s390x/translate.c index 79ab3e5..b8f2ca8 100644 --- a/target-s390x/translate.c +++ b/target-s390x/translate.c @@ -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); |