From patchwork Mon Jun 21 01:34:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 464480 Delivered-To: patch@linaro.org Received: by 2002:a05:6638:102:0:0:0:0 with SMTP id x2csp2116799jao; Sun, 20 Jun 2021 18:45:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJztIO29ABqzHsIe8U5BxacqGa/rZaqjcycs+eUimpz943S905XHSz06kkfQyxgUMwjiyoVM X-Received: by 2002:ae9:d60b:: with SMTP id r11mr21039905qkk.259.1624239958949; Sun, 20 Jun 2021 18:45:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624239958; cv=none; d=google.com; s=arc-20160816; b=SMRFbkxjGbHqA/1WtgY/RMMV4ic0zBarIK3Q/vgt9bcmuKj0DLJ7o0338eEgnUm1Am u/q0y+N61WCaLCXbi5MVJTYlcPEajuF9zKHkzM9UyKw85udhSjYNDhMb05fSTmUiQqzm Kk0Hh1V5uFAqB03RugyBwzJuIanpnAjTTbT+JFMth80eYMCDzbbOmXbVj4sl6s0XR7+4 V8mOBScy/VgMkpOF/119/nt+yw9PqehfEAlJxK3ZDmxDDGwvxYWH+eZZddy0buB1NS76 Aer2xczoGvr3dtZv1+SCT5Jbnc1Mu9dVEruam9oJV0+TOMZ425a6iEQycHERRdT4RmCt 9Jmg== 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:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=/XHDjw4MYlw4TzcceGLn/7Fa6hqyEFYWUnUbqhZR8HE=; b=dDVYF1bdt0LoyUuXi/qGXTZ80xWLYnZ+vKzuNg7/jkJwIBW2P8oZoPbgimLGwWyPeD 16abRIYkmhjDqwKYEwOKRqyF4mBP3J9FySeiLhn6zTsUgxzwohISLZW8vaHDgDFtDg0T EdzGXxzAMOIIwegof7MzUI0PtTJ4C2od5z3+BpVsKW471Cy6SA04kQ2c9ZT6feMkNofR afgsGDvhiya4opeg4NgCYnNohnqq5C5w0SF4lYkrN9q+iSAUVBrqvaiQUXYq9O5/3DRs eKFgL+yrs0hd2gIZOWhdLRB8FFCy8+hLyEBp0ji1tbXxT94O/xnqQbSQ/hEmidunVnOk NHRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Dg8cqfzr; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id p19si1306513qtx.270.2021.06.20.18.45.58 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 20 Jun 2021 18:45:58 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Dg8cqfzr; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:39158 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lv90g-0000Iw-BT for patch@linaro.org; Sun, 20 Jun 2021 21:45:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40066) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lv8qC-00041i-Eg for qemu-devel@nongnu.org; Sun, 20 Jun 2021 21:35:08 -0400 Received: from mail-pf1-x433.google.com ([2607:f8b0:4864:20::433]:35419) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lv8py-0005Eh-BK for qemu-devel@nongnu.org; Sun, 20 Jun 2021 21:35:08 -0400 Received: by mail-pf1-x433.google.com with SMTP id t32so1055567pfg.2 for ; Sun, 20 Jun 2021 18:34:53 -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 :mime-version:content-transfer-encoding; bh=/XHDjw4MYlw4TzcceGLn/7Fa6hqyEFYWUnUbqhZR8HE=; b=Dg8cqfzr9Up7ZP3euQObJVampYAhWqPdptpZqslA3J1WAQ2dPJzwuQE5f9yt2KDHux iQy8RWe6nr0wodpdSVVCB0FR7DeoxgUtQpHpZa2nPXSC8+41zEWxpw1hKcig+diCmVqt 1jCw5pUk5BHajfO7W4J+R1N9cyjzgT4vI6HfDWJ8I/emJQhfALFWFMc9/BQXQGUC9Vyf 2/uVCazf9ZDKCoW7VKanKIF+78iYwboPiI+CcS0pOdDeaKlJLUB00M19rjgjjGzLXFvL DKCw13iSQ/EzW6RR5PMPho4qo+iDQRYCNTyvaPubMUMvuYfFRZJM/tSbW1Dah5yhPEwu 3YDg== 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:mime-version:content-transfer-encoding; bh=/XHDjw4MYlw4TzcceGLn/7Fa6hqyEFYWUnUbqhZR8HE=; b=QYbu++cNkHLKoQTEZgXCS8x46+ayht/RLIIWJahHT/Iekv+C8mfhnS8KMJ9pYK5yZg sCNTaawOtvR+Z6bI4cA7+c1AKrCanpGWTVdfX34K7G/IxKzBaHaQWeZATcYJLlSAahQZ 7tETRbvC7TIFFq1WWsf1cmIhmHxTPbOke4xE/2Kn3WhYmC34MQ6poc7godN6evxmo6Pb QoxGjJ2nBBJxhLtL4qj/aD1jrCONT3IunVF3Gn4qUSkm4tTcjgKQ6DHV1x7ZvVM4wq4m tpPIW8K/3y63HQ2vOuVe+R++UapnkEvcJ/x++FkAiO/HeQGtCx8bSvkrVe/aIR2tYy2w C1bg== X-Gm-Message-State: AOAM530AswPFmL4gsocHqnLDiUMRd3d4USB59ymHVZR3rSr0WrC8eppq DQFS7jSlRSKDgzVfegIdAhadz+joE1snlA== X-Received: by 2002:a62:ce4b:0:b029:301:ec00:eed9 with SMTP id y72-20020a62ce4b0000b0290301ec00eed9mr7864906pfg.44.1624239292580; Sun, 20 Jun 2021 18:34:52 -0700 (PDT) Received: from localhost.localdomain ([71.212.149.176]) by smtp.gmail.com with ESMTPSA id s27sm1495628pfg.169.2021.06.20.18.34.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Jun 2021 18:34:52 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH 20/26] target/s390x: Use translator_use_goto_tb Date: Sun, 20 Jun 2021 18:34:33 -0700 Message-Id: <20210621013439.1791385-21-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210621013439.1791385-1-richard.henderson@linaro.org> References: <20210621013439.1791385-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::433; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x433.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Hildenbrand Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Cc: David Hildenbrand Signed-off-by: Richard Henderson --- target/s390x/translate.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) -- 2.25.1 diff --git a/target/s390x/translate.c b/target/s390x/translate.c index e243624d2a..4bb5d82a37 100644 --- a/target/s390x/translate.c +++ b/target/s390x/translate.c @@ -697,12 +697,7 @@ static bool use_goto_tb(DisasContext *s, uint64_t dest) if (unlikely(use_exit_tb(s))) { return false; } -#ifndef CONFIG_USER_ONLY - return (dest & TARGET_PAGE_MASK) == (s->base.tb->pc & TARGET_PAGE_MASK) || - (dest & TARGET_PAGE_MASK) == (s->base.pc_next & TARGET_PAGE_MASK); -#else - return true; -#endif + return translator_use_goto_tb(&s->base, dest); } static void account_noninline_branch(DisasContext *s, int cc_op)