From patchwork Mon Jun 21 01:34:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 464467 Delivered-To: patch@linaro.org Received: by 2002:a05:6638:102:0:0:0:0 with SMTP id x2csp2111177jao; Sun, 20 Jun 2021 18:35:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyhP+JDthF+vmAV0NEaA6WGnK1e63AphVWVBKi342eYGGpAm3XWY+h+1G4pBn/V1xYg4FpP X-Received: by 2002:a02:b897:: with SMTP id p23mr15065043jam.71.1624239349106; Sun, 20 Jun 2021 18:35:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624239349; cv=none; d=google.com; s=arc-20160816; b=s5EZxZ0Z75tOb3knPahadeyw9Ya9SjNP6Pnqj8eR+td6bjw/kJTrK5yMxgLW+kId4v 61bVzwxbcLjLYgWoeRa7+oSNOQwprrA1t0A1Cu9UHMOK1wwO7B58doLJvbHf/Mn/eDpy LbERRkNcKWyF2uY7L8ZFWyX/OGMG7jXJip8mKjxt3hSDXhvjfB8YK0R9szMQasNPCwIR qszQwgcJIZiukGanFHGFJuVQhngLoQlUNYNyQrkPJVF0xuHavcm4r2vD9agQ/ryXZvge TQYkbXML/6+3ALstc179cmRVCk+5gM8V21NpycuZmjTQCSLPwFVe9WL+UOODycsYzj8U b/6A== 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=M6sMfSPTK4jOURPt+CDG8nXSgaWaM23Ky3E+Ejp9+buAT+k79LSyuBGdcs59CL0Zcn hq8rWDgkXO/c6QKuqFbemiEfEAugpegxSf8/QDBeD8m6+3RlDpmTWyoKrV/ywu+xNIpM IoyJuAyfRGcpFVa0iCmDMVqDiH/Ig2HvN76DGwQk042cS7mB3ViuzxoPGKtVtFToxow0 0uaK1y1RrN3Y9IWKYwwxm4hZkFelEIQcONvhZpHoz1AuMw8j1jNjZA3W3lhHsXS9R5Ia VQ5FFNXGC3KC0LBV7+5hKrU8lPX5ArbzjJ5/X2M2oBjRvJUZKsJ4SuRHMjFUOmIo7lpd Kt4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zk4xhm4f; 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 g2si12745645ioo.75.2021.06.20.18.35.49 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 20 Jun 2021 18:35:49 -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=zk4xhm4f; 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]:35598 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lv8qq-0003us-FX for patch@linaro.org; Sun, 20 Jun 2021 21:35:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39874) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lv8pv-0003jv-M8 for qemu-devel@nongnu.org; Sun, 20 Jun 2021 21:34:51 -0400 Received: from mail-pg1-x533.google.com ([2607:f8b0:4864:20::533]:45824) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lv8ps-0005BB-DF for qemu-devel@nongnu.org; Sun, 20 Jun 2021 21:34:51 -0400 Received: by mail-pg1-x533.google.com with SMTP id y14so1402908pgs.12 for ; Sun, 20 Jun 2021 18:34:46 -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=zk4xhm4feVb+xK3F4e11ZLuwU7VudoskD1fKArb/lYaaXA3eyYQ3Iy6zcdnWp8n69a 33rVAamHYpZ3h+fgIWZVnPL7LtqP8mmpZeLEFYO/MesIn8TatVl7aB2n9yM2sNZwcaU2 9eXgKEnfY4tGibFDF/kGZXZ0opDUxX7wueoCBTAQViN8Pj5E7n/PRrzEOwWqdmlseVDy 6DT5C5ilXVE/MvWHViRjlR7yAtmhQOaB+8OKUbfVL5nLHEkgj62VwnrT97q1vecbBgB9 l8ISh1bz52wxYM/0CSbqdKffT02J0mEfN2mGYQhhjhA7L7TK61yx/1MdQdoONiAsRWZe 6d9Q== 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=mumcvV7srwwKE2cBEQSk9NhpEPKwhAw+BTh3OdNBo6bBkkeWoIWlr3YG4usIKZ3jlJ rUkp1HZpbeqZMnZoAxrANpUux9Ak1uH5pq0f6QgrQ2bvcCq2xHMG51jTGoY1m8/wjoUv P9FzVrwI5CGB0pK2+9C3NwpNOHdsS9wsm8fkSYAe0SZtp609kk5igYcjqOKkjAkfHP0g wkMvGpz8i+16GNc+AzYZecX0rtSPM/m5uh7/eKNOL2a04QCD+TooWMK60MQvWKzrSkcI 7zXbdqYIrHbeSjjPZRwLJu0TxYIXgmXlWg9J2Ysh8k4x3lNJoj7tRcKapLI6dqjOiNaO OQRg== X-Gm-Message-State: AOAM533C9YhtJZve6wkI7vIhLIwrQH2xEk/S3NeULbC6/xnPR8j0frgU Ciyqy04QywkD7rhbQ3xwrsmAE7qACaw1vw== X-Received: by 2002:a63:b60c:: with SMTP id j12mr21757569pgf.393.1624239286198; Sun, 20 Jun 2021 18:34:46 -0700 (PDT) Received: from localhost.localdomain ([71.212.149.176]) by smtp.gmail.com with ESMTPSA id s27sm1495628pfg.169.2021.06.20.18.34.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Jun 2021 18:34:46 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH 09/26] target/hppa: Use translator_use_goto_tb Date: Sun, 20 Jun 2021 18:34:22 -0700 Message-Id: <20210621013439.1791385-10-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::533; envelope-from=richard.henderson@linaro.org; helo=mail-pg1-x533.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 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,