From patchwork Wed Jun 28 07:12:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 697220 Delivered-To: patch@linaro.org Received: by 2002:adf:e885:0:0:0:0:0 with SMTP id d5csp4194663wrm; Wed, 28 Jun 2023 00:12:52 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7fmyBi7rSW8cBa/Zb8gFfFnH53Z3komcsP79o/bL/Eepai/hgkoi/YWeqV2+czGYPczdwG X-Received: by 2002:ac8:7fce:0:b0:3f5:483b:7690 with SMTP id b14-20020ac87fce000000b003f5483b7690mr41774069qtk.61.1687936372552; Wed, 28 Jun 2023 00:12:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687936372; cv=none; d=google.com; s=arc-20160816; b=lLF4MbDmJxc068531BmM+9v1AAxCHIxnnRo4QttWjCVbMv39EwOwIsoLBKd8Z8aYya D47fiI8hUG3T2ZiHWaAUVXhTvJHjZCNidwiAQtAwkkgF2MyeIXqPhlONigVbNlJMY4J+ qb9vE8gScUksbeJ4AeP4g44QHEf71nXTGYyEap2JTeHInNp7JEkr/IA/XO2TARF5At3C d4QM/0c9psnYIt+RqvIzn1PxHiTntOAWHRalojAIImJc/evs5zCa2qB+pTprLKBkCPte VRQfshjlraJ21C2iKlTmPLw0Jxrv6gm2fTYQrxxxADAVxsMvYtv+Gt4S5hwIfi5P3wPD N8ig== 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:cc:to :from:dkim-signature; bh=n+S50E060p2wRKa6d7oX/BgtDJRjqc9miMeLpdV3uig=; fh=GkmytpQ/aBK+SnhsUxtqa1dYh9qnVue5D4c8ejqHfb0=; b=owLsurfKUgEqtPppDt2brahJxD3wV/uUbIayVQRRoJL/rzgYLN9wgBOoQVHZfD/mbr 34JlK5svxPEC0I1uC0TgwiwzhwVkLnEtSBdfuywKNhUDEn4heoAESfIVCq5mnbUn1nsV JElKsAtr0mjwfDwVVLTpANZS6ufK8DG/ysxpiriBp0ip4J4nrQS1zV2cY9W0q2NVOrwa CrrTf4h8wzcKJt9RcOxeCftejmrPGQ1pix5B/8EEQOW1dxV0gNBVbuqAhST3jNM7pVhm XJgb9pTrYzMzmAgQ/lf0SIjE0Wy99RFJo2dG3f3k1RVHLM5O72WTQRNOTd72mCdVaSl8 PP5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zkmsGb0X; 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 s15-20020a05622a018f00b003ff22859f9csi2658294qtw.381.2023.06.28.00.12.52 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 28 Jun 2023 00:12:52 -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=zkmsGb0X; 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] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qEPLq-0003H4-T3; Wed, 28 Jun 2023 03:12:30 -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 1qEPLZ-000358-Jg for qemu-devel@nongnu.org; Wed, 28 Jun 2023 03:12:18 -0400 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qEPLW-0005JZ-P1 for qemu-devel@nongnu.org; Wed, 28 Jun 2023 03:12:12 -0400 Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-3fba64d9296so16738555e9.3 for ; Wed, 28 Jun 2023 00:12:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687936329; x=1690528329; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=n+S50E060p2wRKa6d7oX/BgtDJRjqc9miMeLpdV3uig=; b=zkmsGb0X7l0Dj8Fhgc6CO4g56Rf4e/fdUIv5q1QgVGdaBq+zSWYnrT2Fx6go6+w+K/ TNDVFxdzOnXPWTzPDBvCA2kge6aHWXjeO4RzIrxY0Vl7dU3NHBIYVK/wdfpqaoRsAVXV mSkBsFoJlmTUDu0HkAm6TJWw5IKFwp7eHJ4xEtccbOzaxPBB926whPQGdHzVac7NvajT AbmHB9+iUbo9UHqqTBt4eIrR/ge2XLnTkhoFZyOLlKPx/4XEcYN32gnqb8z6xQ8OvMTO hesuaZ/vgiONoUaFL1eYHhM45qPTx8BIyVT54CEDPF3S90bd5kfjsy48l3tT7HnXdrDu axdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687936329; x=1690528329; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=n+S50E060p2wRKa6d7oX/BgtDJRjqc9miMeLpdV3uig=; b=In2h0EC3gae4ERg47GRLxDwS+0aA3qGvhRjY3FOHspY1KKIHdCvBB/yVwN2+31r97r bZb4Pmxh/KhB7vRFE50UiMx/DHg7auT01R5VM08p6ACtPia5/eQ/kvD2AOlcGWJ/TVKf GmS0nK308pn48wP+LwVel3PEbuXiros1cBPnL/UDrqXNGRYVPyrWg/Qv1NcVKw1HcEut uT/nmrNDVjRJTry6gVox0VMT5fUBMNy0ISnosRTT7mlZns1eshHLAe14qyytaLhcLCoq jzjr0Ph7IHqcxxWeEwPF3MYEHQwOz50P0lFDBIM9v4Ms9ObZT5bbXgH7NaIhyABzCYAr 0SCg== X-Gm-Message-State: AC+VfDwRQ9LKQkD/0kGUu8+yfCFEmBnYIVFfzAsX6HHFDQoCCB4kBdlL TXztroMdmsYyP0a+i9AQOxvPG+pJwBuSsWEkyLjEcnu1 X-Received: by 2002:a05:6000:50a:b0:313:eeb3:c57a with SMTP id a10-20020a056000050a00b00313eeb3c57amr6839341wrf.15.1687936329416; Wed, 28 Jun 2023 00:12:09 -0700 (PDT) Received: from localhost.localdomain ([139.47.41.103]) by smtp.gmail.com with ESMTPSA id a5-20020a5d5705000000b00313f9a0c521sm4908667wrv.107.2023.06.28.00.12.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Jun 2023 00:12:09 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: mark.cave-ayland@ilande.co.uk, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH v3 6/8] target/sparc: Use DYNAMIC_PC_LOOKUP for JMPL Date: Wed, 28 Jun 2023 09:12:00 +0200 Message-Id: <20230628071202.230991-7-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230628071202.230991-1-richard.henderson@linaro.org> References: <20230628071202.230991-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=richard.henderson@linaro.org; helo=mail-wm1-x32f.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, 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 This is for a plain indirect branch with no other side effects. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson --- 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)