From nobody Tue Feb 10 21:40:21 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; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1517936396182929.9228571257617; Tue, 6 Feb 2018 08:59:56 -0800 (PST) Received: from localhost ([::1]:37973 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ej6b1-0002hv-6e for importer@patchew.org; Tue, 06 Feb 2018 11:59:51 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33592) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ej6Q4-0000bn-R9 for qemu-devel@nongnu.org; Tue, 06 Feb 2018 11:48:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ej6Q3-00053H-V4 for qemu-devel@nongnu.org; Tue, 06 Feb 2018 11:48:32 -0500 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]:53521) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ej6Q3-00052T-P1 for qemu-devel@nongnu.org; Tue, 06 Feb 2018 11:48:31 -0500 Received: by mail-wm0-x243.google.com with SMTP id t74so5036016wme.3 for ; Tue, 06 Feb 2018 08:48:31 -0800 (PST) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id s206sm6619035wme.4.2018.02.06.08.48.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Feb 2018 08:48:22 -0800 (PST) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id EC0843E06B0; Tue, 6 Feb 2018 16:48:15 +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=CbmvNTfC2Q0sl6dTe4aB9f4qRWG8djUkf97QFijCsF0=; b=IuYob9bvUlH4b2zmmQGtyc8Nf5kMoVDgwIuH91l+gHMrvJp/pNZuVecI1hlcjctz33 EaHkk8AIH/kpqce5JZHecx2c+W21LAtxFXZgNHMgYX5PRf/3jlnOELwsx9P5FQ4hiGwX vzKd7nFV5ja3l1RwHE4wa20iNOAQHmqyVXiDA= 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=CbmvNTfC2Q0sl6dTe4aB9f4qRWG8djUkf97QFijCsF0=; b=HIuuy+v3D01iyfrReYjrxrFyVdAwDE9dWdIh13g8Wqf/JACB8DSat2JTCKEFoEOAvN 4CEjD69sXyQxznIW8FOcNJaeUhlD2De5mm/qo7setYWp23s6kpOn13j78PUDuNp9eIGA ZxPlz8i1ctjj5gXKxPnAnAOvff4blXXLcb6zaR2iRrunbVzJjeiI1dEvy91AMQ0ZDgau pK6BDbQ+HQ6rRU60EqZdWa0IP4faXZEMK25iSswymfYoq4aJvyG+Th0TFAHE46aQyGDF PH0+S5n3SotY6gvYCW+vtiPaVsdalehzoh6J9dZCrJVtVXQ59opLEnX277MG6W1Javj0 Nj9g== X-Gm-Message-State: APf1xPBlMt9PCQI/y1QkKYDVpxk7E78HR8/Kq9EKNV3X+1gGDAp8GcaA g8AOzfVSv0cAe6i6ycAaPmdQKQ== X-Google-Smtp-Source: AH8x225Hq7NrUWQi5pcPBmwSp0FNSc4cgtGcgFsjHjfE0Ek9WE0deWFFZQZu8BkgC2G3KyCaI7XVYA== X-Received: by 10.28.120.19 with SMTP id t19mr2434534wmc.53.1517935710642; Tue, 06 Feb 2018 08:48:30 -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, 6 Feb 2018 16:48:02 +0000 Message-Id: <20180206164815.10084-10-alex.bennee@linaro.org> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180206164815.10084-1-alex.bennee@linaro.org> References: <20180206164815.10084-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::243 Subject: [Qemu-devel] [PATCH v4 09/22] 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. Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Richard Henderson --- fpu/softfloat-specialize.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fpu/softfloat-specialize.h b/fpu/softfloat-specialize.h index de2c5d5702..4be0fb21ba 100644 --- a/fpu/softfloat-specialize.h +++ b/fpu/softfloat-specialize.h @@ -445,9 +445,10 @@ 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: + /* ARM mandated NaN propagation rules (see FPProcessNaNs()), take + * the first of: * 1. A if it is signaling * 2. B if it is signaling * 3. A (quiet) --=20 2.15.1