From nobody Tue Feb 10 12:39:42 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.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 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1515501390065852.511145206124; Tue, 9 Jan 2018 04:36:30 -0800 (PST) Received: from localhost ([::1]:49569 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eYt8i-0000Fi-Bx for importer@patchew.org; Tue, 09 Jan 2018 07:36:24 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51495) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eYsvu-0006jA-B1 for qemu-devel@nongnu.org; Tue, 09 Jan 2018 07:23:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eYsvp-0006li-Sg for qemu-devel@nongnu.org; Tue, 09 Jan 2018 07:23:10 -0500 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]:41544) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eYsvp-0006hg-MJ for qemu-devel@nongnu.org; Tue, 09 Jan 2018 07:23:05 -0500 Received: by mail-wm0-x241.google.com with SMTP id g75so20186467wme.0 for ; Tue, 09 Jan 2018 04:23:05 -0800 (PST) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id 31sm17529754wrw.8.2018.01.09.04.22.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Jan 2018 04:22:59 -0800 (PST) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id B3D033E2B4B; Tue, 9 Jan 2018 12:22:52 +0000 (GMT) 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=w73w7ZZQIMHcKkvA79sIXqgUK5/buI45QDc8gpNpU+E=; b=IfJKldQLDdUzwauX2LkUXX+p7kQFwscvu5ASX8sdOSqLTJvcEBPOYLy+7/QCzTyRNW DEpn+vFi6frqOmSx/fZUN34K9huRpR8gvuUUKLV6icm4hshTwrzFYRuA7zLuR5O8lvrm 66PXdrVbxyisroCS/vTeJjEEm83W4OadkAQfE= 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=w73w7ZZQIMHcKkvA79sIXqgUK5/buI45QDc8gpNpU+E=; b=AS0WpKUM0Z4CwOM6LmtXYTwSLjlRpK5WAXjk4H/w3hgT7rqqHdKtJByKI6NdlE03Js ECrNjAZCO+M8dYifJIKQccPv68TfmNaYqARbr9tOqNrnwTumDgasMRAKrvJ+oBerYv4Z mLn9BiPmgYILRy9DADQ56qhFYe2WQ78XhN3s4998UMBwqpfcZr+2vVSLRNfflolkBtA3 tlNHab97REBxyv74XL5uQjg3iYcCtHQk7YhVLIz6dHrmcZ11NnbdZu1kK6APGww7vSq0 DLO1S032dVfCnMIPBOn0XP/6UsilYeHzZ/cmATHBLU4ox8638CoGfCOT7Uid70/A7Mi+ QYSw== X-Gm-Message-State: AKGB3mLfFJ59vbKbv/KOvWcycooPUDS/abmae+pwZ6C8t4VysfM3PUFj OPZnaJC7aXrKAm9c0Ew0hULyw+GfSJQ= X-Google-Smtp-Source: ACJfBou2n4a6q6mrI0bdcwUrHp/hnh5iRla+ckatZlI7AeD+JynEZkI32Ago116vYpMMZMxs2AGbqQ== X-Received: by 10.28.106.26 with SMTP id f26mr11098557wmc.40.1515500584601; Tue, 09 Jan 2018 04:23:04 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: richard.henderson@linaro.org, peter.maydell@linaro.org, laurent@vivier.eu, bharata@linux.vnet.ibm.com, andrew@andrewdutcher.com Date: Tue, 9 Jan 2018 12:22:40 +0000 Message-Id: <20180109122252.17670-9-alex.bennee@linaro.org> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180109122252.17670-1-alex.bennee@linaro.org> References: <20180109122252.17670-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:400c:c09::241 Subject: [Qemu-devel] [PATCH v2 08/20] fpu/softfloat: improve comments on ARM NaN propagation X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= , qemu-devel@nongnu.org, Aurelien Jarno Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Mention the pseudo-code fragment from which this is based and correct the spelling of signalling. Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Richard Henderson --- fpu/softfloat-specialize.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/fpu/softfloat-specialize.h b/fpu/softfloat-specialize.h index de2c5d5702..3d507d8c77 100644 --- a/fpu/softfloat-specialize.h +++ b/fpu/softfloat-specialize.h @@ -445,14 +445,15 @@ static float32 commonNaNToFloat32(commonNaNT a, float= _status *status) =20 #if defined(TARGET_ARM) static int pickNaN(flag aIsQNaN, flag aIsSNaN, flag bIsQNaN, flag bIsSNaN, - flag aIsLargerSignificand) + flag aIsLargerSignificand) { - /* ARM mandated NaN propagation rules: take the first of: - * 1. A if it is signaling - * 2. B if it is signaling + /* ARM mandated NaN propagation rules (see FPProcessNaNs()), take + * the first of: + * 1. A if it is signalling + * 2. B if it is signalling * 3. A (quiet) * 4. B (quiet) - * A signaling NaN is always quietened before returning it. + * A signalling NaN is always quietened before returning it. */ if (aIsSNaN) { return 0; --=20 2.15.1