From patchwork Mon Jun 11 10:49:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 927599 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=vivier.eu Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4148wD3VZfz9rxs for ; Mon, 11 Jun 2018 20:51:56 +1000 (AEST) Received: from localhost ([::1]:47653 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSKQU-0003Uj-3x for incoming@patchwork.ozlabs.org; Mon, 11 Jun 2018 06:51:54 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56324) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSKOj-0002WY-GI for qemu-devel@nongnu.org; Mon, 11 Jun 2018 06:50:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fSKOf-0000mQ-8v for qemu-devel@nongnu.org; Mon, 11 Jun 2018 06:50:05 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:59969) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fSKOe-0000kL-P0 for qemu-devel@nongnu.org; Mon, 11 Jun 2018 06:50:01 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue003 [212.227.15.167]) with ESMTPSA (Nemesis) id 0LvNnr-1gRkS21pfn-010gUw; Mon, 11 Jun 2018 12:49:45 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Mon, 11 Jun 2018 12:49:28 +0200 Message-Id: <20180611104935.20499-3-laurent@vivier.eu> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180611104935.20499-1-laurent@vivier.eu> References: <20180611104935.20499-1-laurent@vivier.eu> X-Provags-ID: V03:K1:VoZRQbMk6j672HEf1YtE9qMJffJV/f0pS5F5xnUJc6VORQZFGP5 e7cm5iuCuMjRpRBvkHIrOR10knRi1aILwWdP9tpFKbT0t8La1aoKTX1kc/AdpXrSb7extzW TMi+pF1pmHeI+34ZhsFOd/5DJ3SLkrlPCKaXCsqsLjIpUQ03Vg+bt0DNX1B/PE6ZOwLliY3 i+PZhjAxEV/VgGuHaebEg== X-UI-Out-Filterresults: notjunk:1; V01:K0:ofhFGGODWSM=:YH6iEuNrxvZu8heGSx/pQL VDgM2GicO0i+wqu+epfUXcWShrtyZTVILkQWnR0bdt2AKKryJjort10eiQLvuT9WyyDGpU1JI 4ki6YQ5vZzK7TZqC9zm+J8pVfpuygy15c2CCIAVmLxdPfe4tsNVv+ha0wvi1xoCMWvaSe7SZI VsMKKu10odNjPxIRVcpGw/lNA2dmoI3nxJJZUdikPLad4Td0PZFAMsgiERQPEko8yd8jr5F/x byraDtWuff4JwOdczkgv/R0rQg1976SliN8tj+nix2JMSfUl8soR7BYs1lM03A/EDMJXVkogM wnW1lWC2AdDthw6tr57ozs3+MGRlvynAXZd3uIYlwaV+kR/iyhkxIi5a1jhUzf2riQxObGpiM 42ZqUccguUFYu0i2kTVM2C16am9rw5q29GQOYypo6dRefHeq2D0zpPsTfK9kPhZUtk6MNHk9m MWxYjJfHesl1G2hWL0M6ukSmJLgw/6kTrHLG/WZ3Mte/WZrhmOe302jZU039Te5ldPNGj6Al+ JaMSUKZ4s893gqO0Z0vQWjWQZnwURqGuIi5opHghgW/6yHPKR+BA7RMoepiFya1jBc0Uhn0/B 9YjgiAXg4+h37HEyGiMrU0kwmzDOOh0pdPK1dag2e4yW3SvzF3VL2abkPHQgT1vykXHVULwxx 0lkvFp6Ft21jk2yp12DF1J+nbDBvkcXsAhtWQTpdb87Y3LSVYUtd1mJOU+JTIZ2QPEn0= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.126.187 Subject: [Qemu-devel] [PULL 2/9] target/m68k: Replace DISAS_TB_JUMP with DISAS_NORETURN X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Riku Voipio , Richard Henderson , Laurent Vivier Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Richard Henderson We have exited the TB after using goto_tb; there is no distinction from DISAS_NORETURN. Signed-off-by: Richard Henderson Message-Id: <20180512050250.12774-3-richard.henderson@linaro.org> Signed-off-by: Laurent Vivier --- target/m68k/translate.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/target/m68k/translate.c b/target/m68k/translate.c index de1be58f65..bfa30cde0a 100644 --- a/target/m68k/translate.c +++ b/target/m68k/translate.c @@ -199,7 +199,6 @@ static void do_writebacks(DisasContext *s) /* is_jmp field values */ #define DISAS_JUMP DISAS_TARGET_0 /* only pc was modified dynamically */ #define DISAS_UPDATE DISAS_TARGET_1 /* cpu state was modified dynamically */ -#define DISAS_TB_JUMP DISAS_TARGET_2 /* only pc was modified statically */ #define DISAS_JUMP_NEXT DISAS_TARGET_3 #if defined(CONFIG_USER_ONLY) @@ -1496,7 +1495,7 @@ static void gen_jmp_tb(DisasContext *s, int n, uint32_t dest) gen_jmp_im(s, dest); tcg_gen_exit_tb(NULL, 0); } - s->is_jmp = DISAS_TB_JUMP; + s->is_jmp = DISAS_NORETURN; } DISAS_INSN(scc) @@ -6148,7 +6147,6 @@ void gen_intermediate_code(CPUState *cs, TranslationBlock *tb) /* indicate that the hash table must be used to find the next TB */ tcg_gen_exit_tb(NULL, 0); break; - case DISAS_TB_JUMP: case DISAS_NORETURN: /* nothing more to generate */ break;