From patchwork Wed Jun 30 18:32:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 468717 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp610447jao; Wed, 30 Jun 2021 11:37:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyzcivL94U7EWHl7NrUeJPhmHxlLFkffwfwYqoKIJaw7AD2g6dnx7Pitd3JxuuSR2G39Qt4 X-Received: by 2002:a25:1546:: with SMTP id 67mr16293558ybv.331.1625078262585; Wed, 30 Jun 2021 11:37:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625078262; cv=none; d=google.com; s=arc-20160816; b=DWsO+6O6pc1xM7FRZ+UNvXCN8iJfkx9nR7ZSWNR77gfKBwwj/9ooCHIMLj42PUodYg cQJXg9mjqVm3m3PGUxMjjz23wmc2ogpCS89N8Bd1awA40Zufg8+MdsUoYgTh3GGaj6uP qOOuiOKqZLalABDJcGfQd0+Gb40g//A+ZM0Z/r7OW4nhc7QZ3BeK7hiwPucTgg7hQAk7 /01jPQySC4kFN0cz9l8aY3hggpVDhxkPPFZpruHsKFK7WSJpvl0Hw5bgBbpsmNGdNFwd WHcxO8SrVrYEfMKQ2hhKJ2ddhgCueWozRUUU6+GgwaJdduZkQuuY2OGs5fycI3hV0pkP 8xTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to: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=cH+sdopDqg3AA/XmKjvzj97BFIKh2FfG1/i/yI9Y2V4=; b=LrZ7Sj1ifDwNIG3Da8icHI/TPPiScm55qnJ4y0mJVh3UcV2i6Ixj3/dwCvfdU1HMdb XLXsKpfvwLTm81qxzt6dqipay1Q3zpsS2fR1n8L+d4XIt5a/Ir3rLb4crwlf0jT09Tnl 7cFoMuAar5QuxK0IqBfm7M5ZF5H4QBNO4r2q13eEWe9QX1kUsk46gPvcgD8PZHdW45UL BtAWG8LF6/fLKRdmaAYy3fqV6vt1x9cRInQd2kG3PfDehEY1rguZB59Tn5CbZFKGrvhu x7r6gvGOdc0JT7jCpr2C8H0/KOpAOgt8HkS83KQtTVgSVsympJT2Rry6binYPOpe/iuU bYHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nZWpNRvm; 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 d22si12090941ybe.78.2021.06.30.11.37.42 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 30 Jun 2021 11:37:42 -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=nZWpNRvm; 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]:46882 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lyf5i-0003kP-31 for patch@linaro.org; Wed, 30 Jun 2021 14:37:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45490) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lyf0o-0005EN-K0 for qemu-devel@nongnu.org; Wed, 30 Jun 2021 14:32:38 -0400 Received: from mail-pf1-x432.google.com ([2607:f8b0:4864:20::432]:37397) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lyf0l-00021f-7k for qemu-devel@nongnu.org; Wed, 30 Jun 2021 14:32:38 -0400 Received: by mail-pf1-x432.google.com with SMTP id 17so3087680pfz.4 for ; Wed, 30 Jun 2021 11:32:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=cH+sdopDqg3AA/XmKjvzj97BFIKh2FfG1/i/yI9Y2V4=; b=nZWpNRvmJr8B0KLGBlmol8zFkgwK9OeS5n1S8HpnfR8XZtneZQMeYlm1xQVmWhTSDX nn78T4xFepqoJfUdbrxjRgL1Lgy9Xi8iR+dIkqeErBZpTetY8jwTG/qWfakhxadbVqUA gbkLNbHMpG83++qabE6HHlcfT2K84ryb+563YjwHRDhMtvpXV47GpdWcBW73Xo17JfZI ziZT1KOWn+eQBf8LxccUQ68S6rLFX7YD9hysqtjVR4FJvuU0udwtjdNMAkj/LvPKYH43 J5nnFcfXnZ5HFbyvZDuNKBqMCS6CLSC/HXT3j4AFkSmHFICgiIiay9lugaDnkfrgiDp1 KcAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=cH+sdopDqg3AA/XmKjvzj97BFIKh2FfG1/i/yI9Y2V4=; b=bGlliZcukAPFCbyL54c+qot7JN1/dmgefhH7lIN5KXa8racDF7K01898uIKNIY+rm6 xQnuzagvodEGgPPsi/gMm6DSDpVjLdtHUN8FJSwaVGFZNytGZtfmpyZLg6AKLcaU7zPm b6yC58kTsJDDLFnlEfXD854kMlmJYOTOlE4THbSvA3VOyM1omFLDZorAqitYqGlAVqnr NbhfBPthtULdWxd1GvWAwaaJmhcrToFFxEngxltUFcpCH/DVwhbC2QZA1dJ52/Not5bN KZk9P9oPPFXJK42DggdHgYIXAQOpvC+cXir8rXpaDle4ilyTzQoc12LfghbSsM7zzQcV myCg== X-Gm-Message-State: AOAM533LgJ5elUDKkbgbs9YphM+gSwh62mbzSTiqDa8GDvjlSUBYsYuw r90Tg2vhrbVW8mZdBka4OXVyQDMUbqz/Kw== X-Received: by 2002:a65:5889:: with SMTP id d9mr395398pgu.410.1625077954111; Wed, 30 Jun 2021 11:32:34 -0700 (PDT) Received: from localhost.localdomain ([71.212.149.176]) by smtp.gmail.com with ESMTPSA id m18sm23909517pff.88.2021.06.30.11.32.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Jun 2021 11:32:33 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v2 11/28] target/hppa: Use translator_use_goto_tb Date: Wed, 30 Jun 2021 11:32:09 -0700 Message-Id: <20210630183226.3290849-12-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210630183226.3290849-1-richard.henderson@linaro.org> References: <20210630183226.3290849-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::432; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x432.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: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Signed-off-by: Richard Henderson --- target/hppa/translate.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) -- 2.25.1 Reviewed-by: Peter Maydell diff --git a/target/hppa/translate.c b/target/hppa/translate.c index 64af1e0d5c..952cfe09a6 100644 --- a/target/hppa/translate.c +++ b/target/hppa/translate.c @@ -817,10 +817,7 @@ static bool gen_illegal(DisasContext *ctx) static bool use_goto_tb(DisasContext *ctx, target_ureg dest) { - /* Suppress goto_tb for page crossing, IO, or single-steping. */ - return !(((ctx->base.pc_first ^ dest) & TARGET_PAGE_MASK) - || (tb_cflags(ctx->base.tb) & CF_LAST_IO) - || ctx->base.singlestep_enabled); + return translator_use_goto_tb(&ctx->base, dest); } /* If the next insn is to be nullified, and it's on the same page,