From nobody Sat Nov 23 22:22:55 2024 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=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1730679650; cv=none; d=zohomail.com; s=zohoarc; b=e9daMcs4FR4XWIMF0ksn4qzgnKFeEYjfbXqlyjtMM9ANH/Kdl6zVCYbMxxA5M97AB47D220+ZKVdigRK7p3QerCEr4TlbUxWNMOAYc4u0SXAfo1mZmKpan2+/q9tIKFrXbH2SzFK2y6knx3vwtTImSbdTlIizPt1Ws9nmXj//lw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1730679650; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=hZKVJSe3jvXud7zLkI4v01kv3KA+r8AleeOvAHmR7uQ=; b=GxyvjDFWd28k64TIPQyfNfBEXZLpyMm/PFWFVi2Po/MK4/MDbOOsW+adTbuM2kUeYb/M5W4NAYw+kVp47OsGVCsdkw6OJ4l6eTdfVrtiI0pIqzffvsFC6lT/v55TMeavDnqx6PKHtrTimep9WNAc6BAOY7KhApJPc1WrVruAjW4= 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 1730679650932954.9149747443971; Sun, 3 Nov 2024 16:20:50 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t7kob-00075Z-JT; Sun, 03 Nov 2024 19:19:29 -0500 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 1t7koV-00073Z-Gr; Sun, 03 Nov 2024 19:19:23 -0500 Received: from mail-pf1-x434.google.com ([2607:f8b0:4864:20::434]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t7koT-0002EF-Mu; Sun, 03 Nov 2024 19:19:22 -0500 Received: by mail-pf1-x434.google.com with SMTP id d2e1a72fcca58-720be27db74so2257357b3a.1; Sun, 03 Nov 2024 16:19:20 -0800 (PST) Received: from wheely.local0.net (124-171-217-17.tpgi.com.au. [124.171.217.17]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7ee45a0081esm5900648a12.59.2024.11.03.16.19.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Nov 2024 16:19:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730679559; x=1731284359; darn=nongnu.org; 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=hZKVJSe3jvXud7zLkI4v01kv3KA+r8AleeOvAHmR7uQ=; b=GYBNb+a/l+NsDHPwSWBGojIlsdAL/MAqweNL8ILWSziOxwX4Pfg0h1VFy/+2lEq7jJ TPhBsGDz5aTsSDRJPKRwD6Mu413UF+OY69Twi+bE+x1OesJpHjc3waKXePQpkcLvC0lp Cc+g5FY1DiN5byPekwpnMGCe2qOtU1cJpMo5KrtXwFcb1gr3bHAuz85AcmRgVq3KvOEc cE/laRQhLMxB4uindkGL39QEOftLybUKRSzhmDszGm6zW1XqFxFhS5bV1n1n4+k9m0Xf FL7lkHZHBR/dJYnEtFnL14QQ7FO7Hw0hrp1hPViI9RK/RETn7Uoz5k7/foOtj1ppZnw5 xOpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730679559; x=1731284359; 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=hZKVJSe3jvXud7zLkI4v01kv3KA+r8AleeOvAHmR7uQ=; b=lhOR2jkcbbxmgEqjmXeQKF5A1E3L7r8G7Yx502/5iMOQP/T+D7u1YVoM1ajCoom6Ik bEkBa75BfP3efrawmvnb7zbVDau/gCNQmXlpwQWhfQ/HVm5MQuM4JEGpanf2tFVek/Zi p/duv0PhlOVmb3k8osiIJtnRUuzbbilJ94a072QSWbt5rbOJ1FaMKbfdglxhcjSOyUUF DnRu6hl++WbMs6TpQlqU3WGWPns3Av4Pl++hMt+1hfBsxacXYpudeM01V3tW/+LMaJhC fEut2krjBirttQQvsLzM1Z+IaA4sAVcJEkj3nCQ27ZDdmIxzIu73uYsojY46jUuMrXAC La6A== X-Forwarded-Encrypted: i=1; AJvYcCV9gydnn2YdpnA+HkEqVm5stR+b+Vrim8W/Br5vmPXJyd2AO5r2nBOU66OLZqZe6zZ1T3eQKYCniCMEv48=@nongnu.org, AJvYcCXWVMoC1h0EAXQe2vsv5+VdjoepOu9ALBBh6+7yNtvlh7IMRFVqcWu+NK0kzVHxlYbhkBguJOdTtw==@nongnu.org X-Gm-Message-State: AOJu0Yws/p2Fc0PAjrAnpze6g5eMH1+8096BXSX7Fgb6BAzDbnTuLVFn fu2+fIKVMjW954uI0rYfcTmfxiio5K2U1C9aL1cW7EwQHuGh3NCrQg5qsw== X-Google-Smtp-Source: AGHT+IEQ+PEWCEXyrIa9y1S2r8KUkAPNi6SymkbfKzOKlmQU1IJk69KuKdX6augBqlh/ugNL57+V+g== X-Received: by 2002:a05:6a20:e20:b0:1d8:f97e:b402 with SMTP id adf61e73a8af0-1db94fc412amr18813899637.13.1730679559533; Sun, 03 Nov 2024 16:19:19 -0800 (PST) From: Nicholas Piggin To: qemu-devel@nongnu.org Cc: Nicholas Piggin , qemu-ppc@nongnu.org, Ilya Leoshkevich , qemu-stable@nongnu.org, Richard Henderson , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PULL 02/67] target/ppc: Make divd[u] handler method decodetree compatible Date: Mon, 4 Nov 2024 10:17:51 +1000 Message-ID: <20241104001900.682660-3-npiggin@gmail.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241104001900.682660-1-npiggin@gmail.com> References: <20241104001900.682660-1-npiggin@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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::434; envelope-from=npiggin@gmail.com; helo=mail-pf1-x434.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, FREEMAIL_FROM=0.001, 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.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @gmail.com) X-ZM-MESSAGEID: 1730679653142116600 From: Ilya Leoshkevich This is like commit 86e6202a57b1 ("target/ppc: Make divw[u] handler method decodetree compatible."), but for gen_op_arith_divd(). Cc: qemu-stable@nongnu.org Suggested-by: Richard Henderson Signed-off-by: Ilya Leoshkevich Reviewed-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daud=C3=A9 Signed-off-by: Nicholas Piggin --- target/ppc/translate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/ppc/translate.c b/target/ppc/translate.c index be93777cf6..47ca50a064 100644 --- a/target/ppc/translate.c +++ b/target/ppc/translate.c @@ -1820,7 +1820,7 @@ static inline void gen_op_arith_divd(DisasContext *ct= x, TCGv ret, tcg_gen_or_tl(cpu_so, cpu_so, cpu_ov); } =20 - if (unlikely(Rc(ctx->opcode) !=3D 0)) { + if (unlikely(compute_rc0)) { gen_set_Rc0(ctx, ret); } } --=20 2.45.2