From patchwork Wed Jun 28 11:45:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Mark Cave-Ayland X-Patchwork-Id: 697231 Delivered-To: patch@linaro.org Received: by 2002:adf:e885:0:0:0:0:0 with SMTP id d5csp4295034wrm; Wed, 28 Jun 2023 04:48:43 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5mplelYZ9S/0zp76vcgdAn+zWVjz8HYyfdkQFYotS/oHV069tmgeDhPfdUs6OXn1YM60IQ X-Received: by 2002:a05:620a:e92:b0:767:90a:ae9e with SMTP id w18-20020a05620a0e9200b00767090aae9emr5028071qkm.65.1687952923254; Wed, 28 Jun 2023 04:48:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687952923; cv=none; d=google.com; s=arc-20160816; b=nNoG/r9TGjGnOHeNezK73XtMxm1fqCC6BdWAMxGSYsNk4rjfVltpIPGyS1thJtyCTe PX/MT2xLw+gnMbVj61soQbiqlPAFow8AVEn4kU2ItBd9ixJxmHsOM/91gshyXDl+jgs2 OwpYSrgdKGMhyImeI/VOiu33YpC5cLbaBtnqbDeR+CQc5IhMDJcDOb6N1/4CqPTIq1L6 MD7sRIw7cWczeVLFHenNTBtFcRRo6UH+VJzeOF+z80ao8vCsoHI5PaKmtf17wen+mzaf bJKjcFMo+8nIdd6L4ieJ33Meo/uRaHuvKnH2lWCGte4Z43b/Um2vgLFofHk84gJ2folK b4aw== 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:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature; bh=puy44AvdZMQUEA3aEHuBFbJ1B7IKOJW00RpQVJ7zYyE=; fh=dxNoli/Xs5PJEU4/5g3muAZqP4q86W456+YpDLBdAUw=; b=lWs3cX9Omu+qndfHUU664LWcPGziWiWQ8gwA4Itb5v1nJtTLDTLxulsWFQPcHL8BV2 sTKDtdT61u3VOkx43dYp+yxF9BnsBC03o+QJsFdqPDnzQRaywfOWX8GXbE8dFOqQ14Ym TntYXV40FOE9r7vvSFE94AORTrS6R7s3V1dipo2WU8LRQjdvrPBf1s6TMppgu4q1f8qi y85ia62VI+OkiDgfaRpeoiq/V2Yy83hotgW2DWShsBADD9rI+oAXwHibabh0meUZMf5h XGJxp+Si7CXjhqzWw03eW8nixefi3PrED0/05jEhahKtHeYZaxijWggO7V2z7QwlQoyU I2Wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@ilande.co.uk header.s=20220518 header.b=hnnQhb+m; 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=fail (p=NONE sp=NONE dis=NONE) header.from=ilande.co.uk Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id i4-20020a05620a248400b0075d3abe966asi4615486qkn.440.2023.06.28.04.48.43 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 28 Jun 2023 04:48:43 -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=fail header.i=@ilande.co.uk header.s=20220518 header.b=hnnQhb+m; 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=fail (p=NONE sp=NONE dis=NONE) header.from=ilande.co.uk Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qETdK-00040X-KW; Wed, 28 Jun 2023 07:46:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qETcM-0002g8-Ku for qemu-devel@nongnu.org; Wed, 28 Jun 2023 07:46:04 -0400 Received: from mail.ilande.co.uk ([2001:41c9:1:41f::167]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qETcJ-0005BW-6z for qemu-devel@nongnu.org; Wed, 28 Jun 2023 07:45:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ilande.co.uk; s=20220518; h=Subject:Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-Id:Date:To:From:Sender:Reply-To: Cc:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=puy44AvdZMQUEA3aEHuBFbJ1B7IKOJW00RpQVJ7zYyE=; b=hnnQhb+mFJjUGNwrPIDeToupEM YYR5SHaA3zcFfUUYrzw0qydAIqp/FyjIgrEfFb2tNFeJ2eWbRzaNn6TjO9xr2OaGTN6IQ17e7FUBu NZuTRhp/APe4vFI9LUfQwAk70FZVS46HFdC7HAETxVKMFgCrRrytwWb6KvoqILW9nthsRoz/d3mZU BD2As80vPf/W0in7xqN0MvHjOwvfSP/SFligdnaAT0snYB1MmsqjNeVaTKFzcdwpeag1YGJfnEZ9W oc4pRItLnh7pnybzuQl27m9SMc/Yd7PYxtEvxYk7vRzisnvsacDOkLbXsYJRILsJF2YtHWPyJKyru WFfkxWP5Ba3eSjX1MCsSRx2Bq6LzlV8zR8F2v4l/xdyWg5FatEI6RmjqWas8J0DVijdU62SMnHKZg /7zZK/EwS/AgxZQHIQ3PJYDHLPPE5J/JzzPKdBAJqdS1B2OAAWWpReB5lv/If16tL80e7SZefAX/h ByzAx9aOvFOOGr6UaasMTDppfGwVXWSfPPE0Ig2NS3ZJTeJ3RzaTkQY0nR7ljCnDHyybll8XW+Ewi C+tcUOn7JKdTV0Ip3jQJeJx5Q+Llqn25phg4h/+d/XStdL7RZOSXUDI8bpDtFRmLGUwY0EnIP5zn4 tr1nddMJ8bmXkF9Pxxaj09ELWS4ZODloPn7BHWqwQ=; Received: from host86-130-37-216.range86-130.btcentralplus.com ([86.130.37.216] helo=kentang.home) by mail.ilande.co.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qETc1-00007c-Ov; Wed, 28 Jun 2023 12:45:31 +0100 From: Mark Cave-Ayland To: richard.henderson@linaro.org, qemu-devel@nongnu.org Date: Wed, 28 Jun 2023 12:45:01 +0100 Message-Id: <20230628114504.546265-8-mark.cave-ayland@ilande.co.uk> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230628114504.546265-1-mark.cave-ayland@ilande.co.uk> References: <20230628114504.546265-1-mark.cave-ayland@ilande.co.uk> MIME-Version: 1.0 X-SA-Exim-Connect-IP: 86.130.37.216 X-SA-Exim-Mail-From: mark.cave-ayland@ilande.co.uk Subject: [PULL 07/10] target/sparc: Use DYNAMIC_PC_LOOKUP for JMPL X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on mail.ilande.co.uk) Received-SPF: pass client-ip=2001:41c9:1:41f::167; envelope-from=mark.cave-ayland@ilande.co.uk; helo=mail.ilande.co.uk 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 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-bounces+patch=linaro.org@nongnu.org From: Richard Henderson This is for a plain indirect branch with no other side effects. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Message-Id: <20230628071202.230991-7-richard.henderson@linaro.org> Signed-off-by: Mark Cave-Ayland --- target/sparc/translate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/sparc/translate.c b/target/sparc/translate.c index d7b569d910..17afe98523 100644 --- a/target/sparc/translate.c +++ b/target/sparc/translate.c @@ -5058,7 +5058,7 @@ static void disas_sparc_insn(DisasContext * dc, unsigned int insn) gen_check_align(cpu_tmp0, 3); gen_address_mask(dc, cpu_tmp0); tcg_gen_mov_tl(cpu_npc, cpu_tmp0); - dc->npc = DYNAMIC_PC; + dc->npc = DYNAMIC_PC_LOOKUP; } goto jmp_insn; #if !defined(CONFIG_USER_ONLY) && !defined(TARGET_SPARC64)