Received: from eggs.gnu.org ([208.118.235.92]:35966) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1THMkx-0003Uk-Nk for qemu-devel@nongnu.org; Thu, 27 Sep 2012 18:40:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1THMkw-000383-BL for qemu-devel@nongnu.org; Thu, 27 Sep 2012 18:40:31 -0400 Received: from mail-pb0-f45.google.com ([209.85.160.45]:56587) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1THMkw-00034R-0Z for qemu-devel@nongnu.org; Thu, 27 Sep 2012 18:40:30 -0400 Received: by mail-pb0-f45.google.com with SMTP id rp2so4262246pbb.4 for ; Thu, 27 Sep 2012 15:40:29 -0700 (PDT) Sender: Richard Henderson From: Richard Henderson Date: Thu, 27 Sep 2012 15:39:52 -0700 Message-Id: <1348785610-23418-12-git-send-email-rth@twiddle.net> In-Reply-To: <1348785610-23418-1-git-send-email-rth@twiddle.net> References: <1348785610-23418-1-git-send-email-rth@twiddle.net> Subject: [Qemu-devel] [PATCH 011/147] target-s390: Tidy unconditional BRCL List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Alexander Graf 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 --- target-s390x/translate.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/target-s390x/translate.c b/target-s390x/translate.c index 3caf386..5a7612c 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); -- 1.7.11.4