From nobody Tue Feb 10 02:55:40 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=pass; 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=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1569040797; cv=none; d=zoho.com; s=zohoarc; b=nN5F3qP2JmCgGCfJTzMWvXVmje+B+c1hdgouLqaUeOF9XHLyixsIM4ehpjBHIf8xqmTjw2ZroOTO+CeRq6d3nWZV+I+VpgucsueOepjADLtk4jzx7y8QpBC/Zbqo27eXl2ogj9aS5FRYHEvu5NRhX/eYRDrgdL/t1bkZsuKVayQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1569040797; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=N9p66J3CyRGSggPL0jEHpJ6N3kmg+tOoU7mSBRlNkcw=; b=erAVrPWWDcIVt2Ng+U+wYVbIhYaFWTqX/KctWM24Thzhv3C9FRntcnR+Se9peAWV+WFgmScon/ZouunmoX3c/kIC6l6TsIs4RGrgPnv3FBG6zK7d0lBp6tXYv6aSF53PXqlWlmiSY+x8M7gxK5xWd468o6R72qjmXoMuuoXtp1Q= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; 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=pass 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 1569040796963658.0347463119929; Fri, 20 Sep 2019 21:39:56 -0700 (PDT) Received: from localhost ([::1]:38848 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iBXBb-0000n2-AO for importer@patchew.org; Sat, 21 Sep 2019 00:39:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40496) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iBX56-0003JV-Gv for qemu-devel@nongnu.org; Sat, 21 Sep 2019 00:33:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iBX4z-0006Ph-8w for qemu-devel@nongnu.org; Sat, 21 Sep 2019 00:33:09 -0400 Received: from mail-pg1-x544.google.com ([2607:f8b0:4864:20::544]:36572) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iBX4y-0006P0-BZ for qemu-devel@nongnu.org; Sat, 21 Sep 2019 00:33:04 -0400 Received: by mail-pg1-x544.google.com with SMTP id h17so2438035pgb.3 for ; Fri, 20 Sep 2019 21:33:04 -0700 (PDT) Received: from localhost.localdomain (97-113-7-119.tukw.qwest.net. [97.113.7.119]) by smtp.gmail.com with ESMTPSA id 193sm4179986pfc.59.2019.09.20.21.33.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Sep 2019 21:33:01 -0700 (PDT) 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; bh=N9p66J3CyRGSggPL0jEHpJ6N3kmg+tOoU7mSBRlNkcw=; b=xpIFQJxm3uzfSkSTraENbc8HtBffhVBVKmU/3hlMOLXFXvjpL6AzMM+qNg189A2EeY fdtVTTt8TLNtwvaSJ1/AI5r6bObjANZEVNdC4TgptegNcjnmu8Zm57eTJF168rxlxWmf AST4BhMwUUJPcU8SHg3k3AcSkBYU1jjTEwepy/ylmICHZSvvqUQq00qaYHR7jGafC2YP muTWddnz9Vf3T/nZCln6ChE26s5D7tFvPhGN+ItauFVjI9gDT6IjAnNyMkSNjHUCsOCw tsfrWWTCtyv0BayoYkNMhuPU3OJxzRYv2GwW4s1F+akwwBI0JAqKJDidRC4cuCXHFW3s Al6g== 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; bh=N9p66J3CyRGSggPL0jEHpJ6N3kmg+tOoU7mSBRlNkcw=; b=YkRdA272t9JxToo0Kc4voe9qdGS9NfS2f4sA1pug/bs2Wgun7FUWBWtzZ4HC4QnE1D 3rnRQy+UQtflicfZm8Vd1mf6x4MbUsaK0VsaCldHN5lYcuDL7nWQDWz8kcL5MJS6obJy +5gO7p+zosvgARfeJGv2/FlAEFkJF0lqjmWDrQlij/CyytCUnSAnQ2ti/PFlQS3RWBIj ktY/kHBRrEuzPrdJAVbJViU5k3KkBqYxzVdSGlP2HgvsbAibfg7jBe8YP+AkyryZgNfz N55Odb9FPBy0Ejmq84GzS6bFPnncQmTh+I0IPJgSo1Nh+dtTjk/y0X/kF6tPOwNqoDkH 1yrA== X-Gm-Message-State: APjAAAXaDu1uN655VzDUow0TUJJmNqkPk7MqYZQBKP2UT5H5HmfvhOXa DQ+Ywy6ah5+Kwa4FtdpBVjzNtmY9Wi4= X-Google-Smtp-Source: APXvYqwoIuifzuWe4EXFhMnbHHcXlKzhxgNP6V7uP4XPWAVjj1I3V/WzuBcrf5RyT22nWr5Gzx6+fQ== X-Received: by 2002:a63:1521:: with SMTP id v33mr18854563pgl.9.1569040382707; Fri, 20 Sep 2019 21:33:02 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH 2/7] target/alpha: Fix SWCR_MAP_UMZ Date: Fri, 20 Sep 2019 21:32:51 -0700 Message-Id: <20190921043256.4575-3-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190921043256.4575-1-richard.henderson@linaro.org> References: <20190921043256.4575-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::544 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: alex.bennee@linaro.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @linaro.org) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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 Reviewed-by: Alex Benn=C3=A9e --- 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 6c1703682e..10602fb339 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.17.1