Message ID | 20230628114504.546265-4-mark.cave-ayland@ilande.co.uk |
---|---|
State | Accepted |
Commit | 611a1684d0b46bae8fb1cfa15db28c0a5cb64cf5 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:adf:e885:0:0:0:0:0 with SMTP id d5csp4293888wrm; Wed, 28 Jun 2023 04:45:49 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6pCAnToqBc4VKBKUPRrsmpDqBlO8YWxG/qyR8q8CnuTXDFjUMGrM3zoAjqmacDIndaSJrY X-Received: by 2002:a05:620a:a96:b0:766:a495:63f1 with SMTP id v22-20020a05620a0a9600b00766a49563f1mr6151315qkg.59.1687952748907; Wed, 28 Jun 2023 04:45:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687952748; cv=none; d=google.com; s=arc-20160816; b=DhzZbvCu/zOS+g/LwMK3gtcweyPe2tMBINmcFgShajhbvPOM9ki2oW/LzCO+aevxI4 VlvNjR+RUJEDc+8efJw2UlTg17ES7OBoVP71PBqsLyhYphRnrrR559YqFl1H8KXQFFyS kHnTfE+XwwWRUL64VkdxGewdE97PFLzYChjKubEG0WPxiLMOXFdo0DqRdDP/5qHhz+XK YXS8i9gmefFuBW63vRtaGd+ANaWZNdJSMrw+xa7XrTw8FTrgtSZwWv7LkO+95amEFd3k hYqPIV+1bfYq0zvJ5dm+Jngwh1kIDjpKvO/M6mnoooOkfn0SI6DnRQ5pzJuyMNmEMcO4 M/0Q== 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=kA8U5ZqxC+smogql+DAxDyinmV9IOFsn3lSKwKB0BTU=; fh=dxNoli/Xs5PJEU4/5g3muAZqP4q86W456+YpDLBdAUw=; b=Px5cWvO3n3POHnTN43cCHPsHIt1EYuVtE3FUgxDwCG8avRqsf9Plh9fhGVHFxEgNvr Ai3slTvvTqeagBqdOuEneo9KZyJYh29pqdmsRhRE/eHEly+lqCtEznpVkXCUNcrgus2p 6Mlao9ZRi+3fFPw20SqcI/c2SU8r6VOJQrHYil00BuNLUMvAcGnCOqVt4S359ZuByyyh bBWrAP9Bb2HXQgGww1dsLnOcP7EkKsBDo2B7z74b76M8R2+Bdi+p1X21cQ6EOyn0HWpq Z9tHKzxaTlbzL6t4AcPSszBWbDE4Gwco0tsm7dT320GxrSIw7u2RCi3o0MF3HZ2NnOVZ FClA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@ilande.co.uk header.s=20220518 header.b=MI5HTISL; 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: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id sn19-20020a05620a949300b007670d709a19si1916074qkn.667.2023.06.28.04.45.48 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 28 Jun 2023 04:45:48 -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=MI5HTISL; 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 <qemu-devel-bounces@nongnu.org>) id 1qETcB-0002Uc-OY; Wed, 28 Jun 2023 07:45:40 -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 <mark.cave-ayland@ilande.co.uk>) id 1qETbz-0002GU-Pj for qemu-devel@nongnu.org; Wed, 28 Jun 2023 07:45:28 -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 <mark.cave-ayland@ilande.co.uk>) id 1qETby-00055S-Be for qemu-devel@nongnu.org; Wed, 28 Jun 2023 07:45:27 -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=kA8U5ZqxC+smogql+DAxDyinmV9IOFsn3lSKwKB0BTU=; b=MI5HTISLb7cbS3trzdbz9nfh/b B4rco69fQgG9jTvfrJEaQul8Jc+StmB+QDq2bhR8jBJCz31VQ+YxuDj1ja4ZCoOAtcFHt1DKxle/+ LabU6zh1MsKUAxMMtCG2lKMHkuTEqJcuDvcXk6WPmHIKfVL4IsISzU3HJGxM6+wPXiCUVPUZKiXlL Y5ThxuqLnfv35GwMi6CwpQynPm2jU5QGQcbxuIszYfMwdC5XWozU3ZFwaGrLwTuj0sExofx6nQet/ HIPdQWHhgKF5DT4n1mw4KF1sONnO8e+AwebkINxc9e331eKKwCO29nMpLCyKDnxwkIHZytRzb6jYT xqQtNJcakMW5OcUP00/wlrIA5HH9V1JFKOqwO0zBTA7UAJOLyLooLuibuOICIckwxdI/mff66bmNy otHjY6EtWnvXPbe+0ni3G7AUUGJwfXlqrgTTd0oIEOUWLeChFwDv3+kGSFO+VlZwY1THoG9ZifHN5 3KyxD4RTW0Zr3/+mrkPoMfiNB+SsS/LZ7H20+yrA5QF5bwHStrD9kWVFPUTsXlyJ3lYHfTh/elxNt /KarAwFN7oTWbfkv9G7mcY/UxFlga9CNkrh59S1HY2qZp+LJi6wG5g/cPOAaKOSu+yt+SaVoCGGMB TLw9vp6bjqKrlM8jKrEU9VR8Fs2LbQEBS/M25P2Zs=; 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 <mark.cave-ayland@ilande.co.uk>) id 1qETbk-00007c-1P; Wed, 28 Jun 2023 12:45:16 +0100 From: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> To: richard.henderson@linaro.org, qemu-devel@nongnu.org Date: Wed, 28 Jun 2023 12:44:57 +0100 Message-Id: <20230628114504.546265-4-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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 86.130.37.216 X-SA-Exim-Mail-From: mark.cave-ayland@ilande.co.uk Subject: [PULL 03/10] target/sparc: Fix npc comparison in sparc_tr_insn_start 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: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
None
|
expand
|
diff --git a/target/sparc/translate.c b/target/sparc/translate.c index 28d4cdb8b4..eec6f9ca67 100644 --- a/target/sparc/translate.c +++ b/target/sparc/translate.c @@ -5594,7 +5594,7 @@ static void sparc_tr_insn_start(DisasContextBase *dcbase, CPUState *cs) { DisasContext *dc = container_of(dcbase, DisasContext, base); - if (dc->npc & JUMP_PC) { + if (dc->npc == JUMP_PC) { assert(dc->jump_pc[1] == dc->pc + 4); tcg_gen_insn_start(dc->pc, dc->jump_pc[0] | JUMP_PC); } else {