From nobody Tue Apr 15 22:25:02 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1625931296; cv=none; d=zohomail.com; s=zohoarc; b=KDjteN5Y/gSAzaf/cCPw44dnOrSuXpLIVXsKf/KhAWGyk/x507diic/q/lv+Hhh5olBKIyrRW4zTqRpqMNbgg9NSH90/QP+6YjqEUPpT6Pfu3aH64V6swYryhOUkWNinbj7I6fo5QEi94Q5LxzoNXKgulfrmvo4vINvj+vonHf4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1625931296; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=966eOOQRBaspjRNs052m7zB6E/T5XsOP0DeM1nAzdlc=; b=gxnDp7+A9IdmcZy24Up9OblTSfcPJ0M0muxtdtICMreUaLsu2sAeYlOozFJzxyhAeam6nR/3VpoymJbljLA5Bh0KuEIIA1u2icJfPuPAEY4177ycye8Il3Z/li1V8Q9NTJ41B59zBfIQcAo37AGLpozdkTrpj2A2aUbksi1Ay5o= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1625931296585824.9273618197022; Sat, 10 Jul 2021 08:34:56 -0700 (PDT) Received: from localhost ([::1]:49528 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m2F0I-0005SY-Gf for importer@patchew.org; Sat, 10 Jul 2021 11:34:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58598) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m2ExO-00056c-93 for qemu-devel@nongnu.org; Sat, 10 Jul 2021 11:31:54 -0400 Received: from mail-pf1-x42b.google.com ([2607:f8b0:4864:20::42b]:43739) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m2ExM-0002Fp-Ld for qemu-devel@nongnu.org; Sat, 10 Jul 2021 11:31:54 -0400 Received: by mail-pf1-x42b.google.com with SMTP id a127so11671828pfa.10 for ; Sat, 10 Jul 2021 08:31:52 -0700 (PDT) Received: from localhost.localdomain ([71.212.149.176]) by smtp.gmail.com with ESMTPSA id u23sm11975374pgk.38.2021.07.10.08.31.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Jul 2021 08:31:51 -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=966eOOQRBaspjRNs052m7zB6E/T5XsOP0DeM1nAzdlc=; b=sQuD/u1b5YzsFYuc2hKS4vTmW0o1CV+T3BOcAcu+4FEwArKTlf//ki+jy21+D6d9uO iB4yeOsL8s6PeZ/zOrB5RtIK3+wh54qBuCmAIZz8BIg7TvgUUsOJzmLuAo3mgDH1laHF 5Zk/9t1At/QKwYIIxvW/1hlkYXQs+maAKYwlqdEP21hDYCZbmTi74u8deiQ59Wx/kbwn MSejRMPq5QjN4Nm8coMqKA5mVCmNGPdgCKiq6R30IGJdzs8/GEjK7pEg6HVx34sylDCv imPIbgLjy4LCOtNz889iNam60C1tFNAeJ29naHUwf4lfeJujW4gHJt7ZbyPKz5JFaZQN rmQg== 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=966eOOQRBaspjRNs052m7zB6E/T5XsOP0DeM1nAzdlc=; b=N9JzFEpX6+/M1xpqYNUjj/aFRZs7m/5Q6cS9ZipNBrCm+/scdayrjqioLVnkfqFXLf Huw4lNVmbC/kcKGAIPcjI5+X2K49Wh0hy16h68Dc7xP0gmOcgaqwsbcwGxcN7auKcPEe Thay5EJKADi2EoDHETiObSfKxM5as/fU03R2Y3VwWGA+453ozwMh11J26W5REO46q2kN oaE0re5eNrJ7D0m8oO0at1j/y/gvhdw9f78e7lwZJQJbKchyNo1LVDNR10g3hT+NmBDK /XSj5fQ6kzYAON16F7bTlTwrtGLXjcCt5bZ+9nR8DQO7Sk4R8z3EXjjvHSEm0T8W4Bm3 fJCw== X-Gm-Message-State: AOAM531FJQc0CvivIvTHI7Q+hgAshUpauFMUoftS5qlAGQjFYNlfwUfJ Uhry5EZjtnzgToBuCHy3anZXGU9xQX3jrw== X-Google-Smtp-Source: ABdhPJxGwTXOUPROVJLWahxE/uye/VfbAFkkgVX5V9xZRQMcprtxGVpga+2DGAdzlJAt7ScngJgblw== X-Received: by 2002:a63:b48:: with SMTP id a8mr33036940pgl.169.1625931111470; Sat, 10 Jul 2021 08:31:51 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH 09/41] target/alpha: Use translator_use_goto_tb Date: Sat, 10 Jul 2021 08:31:11 -0700 Message-Id: <20210710153143.1320521-10-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210710153143.1320521-1-richard.henderson@linaro.org> References: <20210710153143.1320521-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::42b; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x42b.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: Peter Maydell Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1625931297293100001 Content-Type: text/plain; charset="utf-8" Reviewed-by: Peter Maydell Signed-off-by: Richard Henderson --- target/alpha/translate.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/target/alpha/translate.c b/target/alpha/translate.c index bb7b5ce994..833d3baa7b 100644 --- a/target/alpha/translate.c +++ b/target/alpha/translate.c @@ -440,12 +440,7 @@ static DisasJumpType gen_store_conditional(DisasContex= t *ctx, int ra, int rb, =20 static bool use_goto_tb(DisasContext *ctx, uint64_t dest) { -#ifndef CONFIG_USER_ONLY - /* Check for the dest on the same page as the start of the TB. */ - return ((ctx->base.tb->pc ^ dest) & TARGET_PAGE_MASK) =3D=3D 0; -#else - return true; -#endif + return translator_use_goto_tb(&ctx->base, dest); } =20 static DisasJumpType gen_bdirect(DisasContext *ctx, int ra, int32_t disp) --=20 2.25.1