From patchwork Sat May 12 05:02:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 135632 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp1756371lji; Fri, 11 May 2018 22:08:59 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpMBC+cv+uV3+RHBqCNzn11vBnQJuydYCC96wtj4eBolzUnyc/FXeBrXGK/cSVHsUUcj1uh X-Received: by 2002:ac8:2a5:: with SMTP id p37-v6mr799950qtg.218.1526101739821; Fri, 11 May 2018 22:08:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526101739; cv=none; d=google.com; s=arc-20160816; b=N5/qCQmY6RDYxQCbx+uxK5sOpftHpucbx/JivgkEzmJek8SkDSmOrS+9sHmjRpZM6i GXNsZ0opqnnYFxle+3mFz6aUxWOl/nZYFv4/LZ+bE4Jys2fEtqR9G9RHqXt0NLej3kHs qOMa+OkOyDb18cCImm6Lfs/MKEBeg1j9r9rLakv16psDRR7R/NaLkru0uJMqcaTt+tUv 1XOmJkbtwQiRlQIxtCggVWiywhbltsWpCQxpnYu+jP5Z7wzgOZlsY8rqgBtfOVUe7B5x V7BklqGj1gnLbUw/HBU+DOjylESkIM9jzHeZVJSGglMRiwbwAv8ceCie7mxY8cGRsdR4 DUWA== 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=kU3rB98FErUCywXbkYsUiJou+qSpAwmXgLqK3OXgdvvlSo2BOcp/7O8fOjfAKSYhc2 mmFDIcdd6mPFMvuF65tuzHnB2Jl51fB5eVyEzMuRldFZbaowk18b8fBWxvFdU9xqOGg3 vx+XAe5rpd3cF6uW7knIRq6ZRPOJDywdC0pkbD0M2srUIsEkU6O68o9fjxD0ovC9Tw+L bdzSac5d6PmQDWZdhMfLpIKdX2p1++n0PahyEIbasHB6lQSRz81MXXgf2nJI4K4aRhtJ I676r/YAhDCKq2msy2ISg7BsPJx1/xtWqRfi7RlTWR0WKNIvuYw634FO4W2gX1ViSZD/ 6reQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=W05gB0cw; 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 l17-v6si4232216qvd.35.2018.05.11.22.08.59 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 11 May 2018 22:08:59 -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=W05gB0cw; 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]:45559 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fHMmB-0007Ez-7d for patch@linaro.org; Sat, 12 May 2018 01:08:59 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60512) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fHMgN-000415-Uc for qemu-devel@nongnu.org; Sat, 12 May 2018 01:03:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fHMgK-0008L7-6H for qemu-devel@nongnu.org; Sat, 12 May 2018 01:02:59 -0400 Received: from mail-pl0-x242.google.com ([2607:f8b0:400e:c01::242]:34671) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fHMgK-0008L1-08 for qemu-devel@nongnu.org; Sat, 12 May 2018 01:02:56 -0400 Received: by mail-pl0-x242.google.com with SMTP id ay10-v6so4372966plb.1 for ; Fri, 11 May 2018 22:02:55 -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=W05gB0cw0oZE5pWpI6T/SlrwvbUEmvYVotn3HSUajl5KZcynvAjTcZmBf5QZh/c+mk e4fXa54RR5/9ur2NG0ODHNK0mPcioe9AdPHpefDGGP8GM+URDzUYx0vdjONmV6EyQmnM 3Sonrd8ytYJ2BgFZXFLJcaTJKi9yR81eGfnwk= 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=AZ0bXDVXIcHXyDrbcs+GMBtDHf58Tzz6QH15gyV2OwOXBmKFbbnH8cRe9J4TfSfeoM lDjdrngY0If/jM5f+6pA/0hE2ojBzawDIbbz0yVbZMhcFCYwcWPI3HI1NFB38P38eqUA OhEKjps6O3BnQXZgt7QPJmyMlp/0dMQddirlMUBcbl06p07aet4fbkfZMV1ILaq/X7bm CmxcLpH+k4zZMlKRJ5YD4hD6LL8UZq0yIN9LInCELsJ7ZYm2xMs+QIjtIJuL9YvVY0GS J2wAflT/d0CDpsDwc3vPwoC7wfjgWzucqdf29CmRqnYtT2frNdveelQ/s8XtIfnpaVN7 yZRA== X-Gm-Message-State: ALKqPwfgtJCbYXnhhNTvyBk/JlSnji5u2Zk3Dz1L5bnVsb6Kch3HI/Am KtWRUdq0jsREQ+Bi0vXkybfywI4XEkk= X-Received: by 2002:a17:902:780a:: with SMTP id p10-v6mr999346pll.281.1526101374739; Fri, 11 May 2018 22:02:54 -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 x124-v6sm8999945pfx.72.2018.05.11.22.02.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 11 May 2018 22:02:53 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Fri, 11 May 2018 22:02:43 -0700 Message-Id: <20180512050250.12774-3-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180512050250.12774-1-richard.henderson@linaro.org> References: <20180512050250.12774-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::242 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;