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: 912370 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=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="W05gB0cw"; dkim-atps=neutral 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 40jZhQ5nVbz9s08 for ; Sat, 12 May 2018 15:07:17 +1000 (AEST) Received: from localhost ([::1]:45453 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fHMkT-0000f9-Ka for incoming@patchwork.ozlabs.org; Sat, 12 May 2018 01:07:13 -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-Google-Smtp-Source: AB8JxZqcZ5KItocl+vC3FK8EUfUcRa3nelia1byVGXBcC2LELQ9MT95yIinr8b32+Eg0gUWyT1/JSA== 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+incoming=patchwork.ozlabs.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(-) 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;