From nobody Tue Feb 10 00:23:08 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.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; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1569359083; cv=none; d=zoho.com; s=zohoarc; b=hUYeIG+nIMWUPEzwgO6pS/+3qnrnP9MOOKqPCGgbukMddpmGrkrBjAOnVicyUhSIHr3NYkyC22j51LxKtUr+n5kkm/UKCV6QQZ+zaP9dziQEEzvRRwnm9kavtKztN/KfLiojhSfvZ8IHBxMMjKGjILYI1I/YaB3PW3L2rmlASBU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1569359083; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=/xkUA4er3qxVvIJWrvA6CYF5PpbAnHAJvGVcHOa9aSM=; b=dC6/JuF6Vkv5hEZ4pdgbA9hdZh9cG0C3LFnPko25yDKOLJtHc3AGdZmUN/cvu+KruQOz0cfPO/t0ZB/q4eF0UPl/db/gk2BN4idRuoXO9JNi998yRD1p9TdWJOA55LDU3OH9wYKa4kH9pgJEJDHq240KMKvnpqbkY3PDiURd3qI= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1569359083858367.6945593982874; Tue, 24 Sep 2019 14:04:43 -0700 (PDT) Received: from localhost ([::1]:51346 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iCrzF-0004pD-To for importer@patchew.org; Tue, 24 Sep 2019 17:04:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55469) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iCrvy-0002XF-Ut for qemu-devel@nongnu.org; Tue, 24 Sep 2019 17:01:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iCrvw-0004TD-2i for qemu-devel@nongnu.org; Tue, 24 Sep 2019 17:01:18 -0400 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]:38055) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iCrvq-0004Ru-6Z for qemu-devel@nongnu.org; Tue, 24 Sep 2019 17:01:12 -0400 Received: by mail-wr1-x441.google.com with SMTP id l11so3630374wrx.5 for ; Tue, 24 Sep 2019 14:01:09 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id y5sm1434588wma.14.2019.09.24.14.01.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Sep 2019 14:01:07 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 0E2A41FF8F; Tue, 24 Sep 2019 22:01:07 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=/xkUA4er3qxVvIJWrvA6CYF5PpbAnHAJvGVcHOa9aSM=; b=c4GaNm6tcl2yLcAnJxhd2m1u+F8q148fzdagCmY0QNv4feVIUw9QcEBpUrSAHA6hsU 0afwlRrj/xlKo+23JzAo04SGeSz/yS1j8EVeqTmM2L0HF8itXCAVS4Qx4Q6UE1w3zzf3 TEmgi+pXzreq0B4QKI8ZxCkOLZC3n/g7Rrh8nkAukEQJst80z5wtkiLm+EcNlUwLz3vw wPygkyjxBUWoJoxlYeHZbt2DUdJaBxLn5q1nRyrdiiXbPP1/eYeFpSOejQ/hEu2en3AQ sQAJWEgiLWHC09L4n2LARNCuMHu+m1Zp78Xoec3KgKGcxmAb0LFKzjrzdjAZCnyZjy3Z StZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=/xkUA4er3qxVvIJWrvA6CYF5PpbAnHAJvGVcHOa9aSM=; b=VqOnPTxdqyRaudarkM0ELWc+LlAMY4mhoCYm6bsZ84DXXktKmRDoGABnhEbsrhZBWj 0cM+w8m1h5NdED8tW6hv4xAIgc9F6LwRwuJjVt5K3XH/QeWjVxfBe9PmvTCnU6bNVyhp 3eicuFVL43lsLXaGjZK/thmcoXg36ayGOgC0hVT80aEuNcKjrxUQgYhwCMGhgCP5zGAu ruIDlVMuE9mfDdW6PdLikG8GMcUlfB0ckr+uVdXLlwaqnOu0bWV/RULLCvnhuZPLgJFZ 4DK57wNpTeWusvKOLMA9bJ0J7030TAk9S2aN04tLJ3v+KHMi+cKnd9D5t7sI8UIJWTf3 PvSg== X-Gm-Message-State: APjAAAVuQCKlXNqCUqBZHBIr0XADafnrb9zAjpYqoNDidlD7yQvZgCdH yf9sb13kvqaVJm8YCyluQoEiQw== X-Google-Smtp-Source: APXvYqyEmJ/JHHYvtpw3KjuSmIurkmGOQ6vwmRyWIMJhBTvXjVgFJL+OMFZtSN+u2wUmuOeUeFMfkg== X-Received: by 2002:adf:9cc7:: with SMTP id h7mr4696640wre.193.1569358868771; Tue, 24 Sep 2019 14:01:08 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v3 02/33] target/alpha: Fix SWCR_MAP_UMZ Date: Tue, 24 Sep 2019 22:00:35 +0100 Message-Id: <20190924210106.27117-3-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190924210106.27117-1-alex.bennee@linaro.org> References: <20190924210106.27117-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::441 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= , Richard Henderson , jsnow@redhat.com, f4bug@amsat.org, Richard Henderson Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: Richard Henderson We were setting the wrong bit. The fp_status.flush_to_zero setting is overwritten by either the constant 1 or the value of fpcr_flush_to_zero depending on bits within an fp insn. Signed-off-by: Richard Henderson Signed-off-by: Alex Benn=C3=A9e Message-Id: <20190921043256.4575-3-richard.henderson@linaro.org> --- target/alpha/helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/alpha/helper.c b/target/alpha/helper.c index 6c1703682e0..10602fb3394 100644 --- a/target/alpha/helper.c +++ b/target/alpha/helper.c @@ -71,7 +71,7 @@ void cpu_alpha_store_fpcr(CPUAlphaState *env, uint64_t va= l) env->fp_status.flush_inputs_to_zero =3D 1; } if (env->swcr & SWCR_MAP_UMZ) { - env->fp_status.flush_to_zero =3D 1; + env->fpcr_flush_to_zero =3D 1; } env->fpcr_exc_enable &=3D ~(alpha_ieee_swcr_to_fpcr(env->swcr) >> 32); #endif --=20 2.20.1