From patchwork Sat May 12 04:59:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 135628 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp1752436lji; Fri, 11 May 2018 22:03:43 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrL3gE/U6aXofxjjaJm08DeB7RAu9SYdhb0iyW5/bagdkLc5VVvUOn8fKFkfrNapxD7FBm3 X-Received: by 2002:ae9:c114:: with SMTP id z20-v6mr758615qki.118.1526101423787; Fri, 11 May 2018 22:03:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526101423; cv=none; d=google.com; s=arc-20160816; b=EfhRYRxhR0gBROSxlIU+Ip5f/POuxDZ7NJFIargOJiNt9JSPU6F8/qrm4Qe6d3znC+ 6lFwEQHm1w3UKHgegDUSHjuKfry9uThxwq3llfjEqRUnHXMApV+W3ELFy/TLke8HZcgs jBE1q8qr0cwRKiMVjucceCfLd+/0qBSu76z8BsCSlReSFrEbAHJBcJSLtToIXLR3SS+y ZWq+tXoQCREPVf1nFdur/bOWYZxQ21b2YnJguM/7+oWJ0RuKBeCLTDc6Y3aIGQf4+gXU aSOnCpUTKXPGFMnxZcHPhqWCrsGR0gcVuKvsTVz0wnJo6kSWtt7ApkaevQHvIpE8Vn3f tB3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=2h8oXQwE9h1EoJwXHIglzoEGED86c8Vcit+7NqxnS7A=; b=KT14ux/yJG+hfttqzBPfSrFwfQ+86mZ4YgwrP6jWxPTnayHM+6aoHKbwIFm3Zs48v0 V8jVitSELK5vaZzJIlxjcWymihAMFQLWR1421CY9tN8/3tlG6omcNNn4kBaztigURPE6 JzcKAQfw0re1g3Pip6fVa3f1UKF3MRnhQBGaFZDIwxPTDUlgPRc1vpi81c/Imyoa+SNW MksLkdcZ0COrBPadNBkAA634UXqQ+HZD3XWrmn7IzBs+3+f48fIn55vdjiKmfMdlQ8CA zoigOdlDCCYn98XoRNnMeZDwanv4eKc6QlqSV82NSYlJlKfirlLwLUxsZMHJzGE03lYT 3wEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=FqB1B/OZ; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id b36-v6si1399493qtb.302.2018.05.11.22.03.43 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 11 May 2018 22:03:43 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=FqB1B/OZ; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:45385 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fHMh5-00044x-7h for patch@linaro.org; Sat, 12 May 2018 01:03:43 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59911) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fHMdU-0007Mx-2M for qemu-devel@nongnu.org; Sat, 12 May 2018 01:00:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fHMdT-0007KM-0w for qemu-devel@nongnu.org; Sat, 12 May 2018 01:00:00 -0400 Received: from mail-pl0-x243.google.com ([2607:f8b0:400e:c01::243]:40834) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fHMdS-0007KD-RJ for qemu-devel@nongnu.org; Sat, 12 May 2018 00:59:58 -0400 Received: by mail-pl0-x243.google.com with SMTP id t12-v6so4372162plo.7 for ; Fri, 11 May 2018 21:59:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=2h8oXQwE9h1EoJwXHIglzoEGED86c8Vcit+7NqxnS7A=; b=FqB1B/OZ9wX/jIfD+n0/TuwtMh3YGPDfOoVgz170eRGqN4qQ8bxJ3vul6aTbWSzJYd GmybI/e4naCsGommgFFsKa8fwz8HYRMWuP7svnrli+6fwlqCuQmT2BIUmj53ggpfAAYm yi9IiM3VEkkInCRF9D+8EFTIGNG460kYwSDxM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=2h8oXQwE9h1EoJwXHIglzoEGED86c8Vcit+7NqxnS7A=; b=W5w90ehyOIBEnPLRF6urDlSw0XgOL9P4gPbm4MqpzlNtorMVfo2qbWYAGkgbEOYPpY pCz5G3271srMTNDXUE7hUuLMdOoYOSEpNWgxC0MAWPIr0cEVTa4aNilQgWF7ZeJmmrYm yFUzeHeWC1C3B9rBJAqqTg5Q+zqtDG6XAhANM8tlY7K/JtQcWgJMCZqB0lKZG2uDUKRP p9AgoWlDUea5kxBAha76ASDZaftH6SJ6Z0m8kxaRepq7GazSWxHJuQRXiNmaIknY/OzF YmcH93CHUPy+jAV+4bBF8nPpoIUIUjKqnK43AphLhkEytceqIiQ4ea/29Ie1BhlxWn1H b5uw== X-Gm-Message-State: ALKqPwd5hotNB9jB6B+ij7Nmn79yqSWSulSYLz4Src7MfE543KjHoHfA d2e3C021ED7vgbUuopJJrB9Y4AD1yJo= X-Received: by 2002:a17:902:a5c7:: with SMTP id t7-v6mr1015285plq.360.1526101197558; Fri, 11 May 2018 21:59:57 -0700 (PDT) Received: from cloudburst.twiddle.net (97-113-2-170.tukw.qwest.net. [97.113.2.170]) by smtp.gmail.com with ESMTPSA id b5-v6sm7057551pgc.16.2018.05.11.21.59.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 11 May 2018 21:59:56 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Fri, 11 May 2018 21:59:42 -0700 Message-Id: <20180512045950.12386-4-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180512045950.12386-1-richard.henderson@linaro.org> References: <20180512045950.12386-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c01::243 Subject: [Qemu-devel] [PATCH 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: laurent@vivier.eu Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" We have exited the TB after using goto_tb; there is no distinction from DISAS_NORETURN. Signed-off-by: Richard Henderson --- target/m68k/translate.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) -- 2.17.0 diff --git a/target/m68k/translate.c b/target/m68k/translate.c index 86404906e0..6ab24fac0b 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(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(0); break; - case DISAS_TB_JUMP: case DISAS_NORETURN: /* nothing more to generate */ break;