From patchwork Wed Jun 28 11:45:02 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: 697230 Delivered-To: patch@linaro.org Received: by 2002:adf:e885:0:0:0:0:0 with SMTP id d5csp4294689wrm; Wed, 28 Jun 2023 04:47:44 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6fln48M+eLzBVQY27WcomQeNxAAHdZbluyX5+IWFmCSnPFlKsZbZYjaF922yKJITsVCxVr X-Received: by 2002:a05:6214:508b:b0:632:2649:d719 with SMTP id kk11-20020a056214508b00b006322649d719mr18505270qvb.30.1687952864355; Wed, 28 Jun 2023 04:47:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687952864; cv=none; d=google.com; s=arc-20160816; b=cidexDAfcweAjk2PDizdYxPiL4QdBAz+zdk047yZeZOoWMmmqxSLtMHt99gGiDS/Ay 6w8o5hHYyGxfquYsnHgeHKhKikvvIk+e6mdApPxVGQTA/eXpS4pAmCTEyN4w8BdXOnMD Jwu6e5QAySeUpRTSuql1Jgy5FihEBh07rksB0UYT/yb3/qhUrqMIoKt8r6oif8wKZeAx gEQM0Q8TPMeXgfxpWgBo5jZQoIG+jBul3HzWfuf5Pdd5HjvbGc8G3j8qpsJAOJIx1H0B qWcYSQP4ttkyG0MeaNW5VzOhQtG5l41bIMzioXe4hcWUVu9f/0Ed5GQdphO7Nd04iTxx Fehg== 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=mZEYH3EO9Ckj3bPrCqjVynHhC4HScMvpjZTuEQOMNYE=; fh=dxNoli/Xs5PJEU4/5g3muAZqP4q86W456+YpDLBdAUw=; b=jnFqKUmdtu/9akzQAuIbaQn0egAV8qe4/AadESbeTKhgZKNzaMkveMAcdtkSM+o0RG yycsyJdqnqlowxuWIgG1tZuzdoMgfH4dOZwV6h8Hwd6UWUYQGipmea3PKflAEX8XyPN5 ibkcPNis/X2AJrvZt9IG7NlBx/ZRN/Mr8yVtiaI7Ka/60BNmTDV4FFbfMoLUr59aO4Gj CWmt4YiWFw1ejTwQeVAlGRP7sQBMHeXux1zU6ctwXZmiNtGxwlTqEKijmF8QFOcYIwrI B+Yh1B5S8zkr4rYo9WaJo2t57OqFOqiAv9m5RV8OdcS3z4UCClh+TBhhzPCM9/jqgKGR ejIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@ilande.co.uk header.s=20220518 header.b=r63f37dr; 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 q2-20020a05621419e200b006259adfabbcsi4683805qvc.283.2023.06.28.04.47.44 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 28 Jun 2023 04:47:44 -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=r63f37dr; 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 1qETdU-0004P2-5j; Wed, 28 Jun 2023 07:47:00 -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 1qETcO-0002gC-5y 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 1qETcL-0005D5-1i for qemu-devel@nongnu.org; Wed, 28 Jun 2023 07:45:51 -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=mZEYH3EO9Ckj3bPrCqjVynHhC4HScMvpjZTuEQOMNYE=; b=r63f37drXS2+xIsASLrOmjNzBL wYxj23TD6rUpF2rak4g6CMwGGPAmqRZ3Sh4ot7uFT+EFUeQ+qSENCXkWTpd7s8WHo3sdMu0hkJJWF KAEQ4HF+PnpVpKTKHPRzryQ47A8iifnP5urDJqRVrTLXAV82ahjTYvrVBzgAROK6vrP2Nt4wdgZQQ ttLOiGF8GOewsMYF+FVXSfDhWxvKy8eWsB6Y5xZMebSHQQXm+R0qxQYRVY3CR5a6+VbVCBczIOVQG duJmeRLq9MfdGzYuGG0PNTJoIRFWQ06qc8uFqMs/Lb07sVaxvlSy/qQCsAVOjq8CZR3qj/bo6BAP1 YzrlhG53rKMwEYVUT1rl8IBxg5PCAJxGnM2iRtDVI7PqnrhpDbnW0vCWKKlu4lHAHpoJ2CHXSpzz9 ud7FkvnpHAAQji9wuL4qtdZcREKUQqoH4rJjqNoMrjKS/wFAcX/xvaKmIJm7jRVY2twsXBS3zrNSY ktnux17LZBY6sVNaxIPiVkKkKItrhojmLv01dB6EWHRoyqp3B453nPi+Qsh3opJd+PpdgDH+swCqO MZVQQqFbncG3+yxgFR0KulWk1B3xJ7HnTc7PXqL7OsUJmeujRRY7mM8sHDJ4b9j2zdwek8O4iX9UO tusY0Vu/4xn0xk4GB9C6rGlukBaiWG0XKQocLwlsg=; 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 1qETc3-00007c-P0; Wed, 28 Jun 2023 12:45:35 +0100 From: Mark Cave-Ayland To: richard.henderson@linaro.org, qemu-devel@nongnu.org Date: Wed, 28 Jun 2023 12:45:02 +0100 Message-Id: <20230628114504.546265-9-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 08/10] target/sparc: Use DYNAMIC_PC_LOOKUP for v9 RETURN 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 After the register window unwind, this is for a plain indirect branch with no further side effects. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Message-Id: <20230628071202.230991-8-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 17afe98523..9148e33283 100644 --- a/target/sparc/translate.c +++ b/target/sparc/translate.c @@ -5029,7 +5029,7 @@ static void disas_sparc_insn(DisasContext * dc, unsigned int insn) gen_mov_pc_npc(dc); gen_check_align(cpu_tmp0, 3); tcg_gen_mov_tl(cpu_npc, cpu_tmp0); - dc->npc = DYNAMIC_PC; + dc->npc = DYNAMIC_PC_LOOKUP; goto jmp_insn; #endif } else {