From nobody Tue Feb 10 21:19:29 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 151771779728267.76405499879229; Sat, 3 Feb 2018 20:16:37 -0800 (PST) Received: from localhost ([::1]:58264 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eiBjI-0000BK-CW for importer@patchew.org; Sat, 03 Feb 2018 23:16:36 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47329) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eiBen-0004fB-BB for qemu-devel@nongnu.org; Sat, 03 Feb 2018 23:11:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eiBek-0004un-5I for qemu-devel@nongnu.org; Sat, 03 Feb 2018 23:11:57 -0500 Received: from mail-pg0-x244.google.com ([2607:f8b0:400e:c05::244]:37298) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eiBej-0004u1-W5 for qemu-devel@nongnu.org; Sat, 03 Feb 2018 23:11:54 -0500 Received: by mail-pg0-x244.google.com with SMTP id o1so1773104pgn.4 for ; Sat, 03 Feb 2018 20:11:53 -0800 (PST) Received: from cloudburst.twiddle.net (174-21-6-47.tukw.qwest.net. [174.21.6.47]) by smtp.gmail.com with ESMTPSA id k3sm1399425pgr.12.2018.02.03.20.11.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 03 Feb 2018 20:11:51 -0800 (PST) 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=LYBDYqhPqW1KJM/7G3vqGhglHsM3X7ZibH4HrpCwWvI=; b=WL0VcCHLxg8TgnxxHs24VMx4hop87k1Wd/AAayaE92zQ7ZiXgYB1xu9bwhBkV7q4aD Brl2HuPXShRse4OY8ZMbCRfL8t2cQcE8w87IgiqRdbP9rmHfthcvVGuBghN4GVqJZntg 8qVYogu9929rVUJzPngSS/flJKHcNyL58j2I4= 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=LYBDYqhPqW1KJM/7G3vqGhglHsM3X7ZibH4HrpCwWvI=; b=obfl/+YFe0hWYIarozgzYVc4UXQM0Wd7DHqBHZzYobZ9q3TA5yfqFpvLMEvc6i/tJH fnmed/mJ19rtcJjrctYlwafe7fK2fGybn24Y8QkBYMG9XIHxtoprikmmfrAU/U1Smf27 /yjjT9upQBgahPV8iNtRbYZdulwhXTmpqc1gZ9WqVVCJ26MI6LfJMi2M1/YD0jMYAT9s sByK16Enq5asY0wHiUVUx+mLvS8WVWTGQtNdJXUX0xxVJ35HFWOgrFD8NmSSI0tSyaJX ne3UyobZXYItpiGJ4VW7ACYbUnSIy/tKvAoGUPJVmMmM5cRmovwjmfI+IfFc+YofZ+2q h1dw== X-Gm-Message-State: AKwxyte6yUkhlSctr+fPTVVqY5NFGSUBKnN6Qd5htjYZj6ulptVNhEtq NLguM3QltAUNwJHZapg/Vy69HWD/eGM= X-Google-Smtp-Source: AH8x227dzDIV3hqlgfqojzTowTOcil03jMYn/GjtEkOHZN8aFGgqsoCPbtvpTB8U/4qdun2Amae0GA== X-Received: by 10.101.81.68 with SMTP id g4mr33920122pgq.276.1517717512755; Sat, 03 Feb 2018 20:11:52 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Date: Sat, 3 Feb 2018 20:11:21 -0800 Message-Id: <20180204041136.17525-10-richard.henderson@linaro.org> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180204041136.17525-1-richard.henderson@linaro.org> References: <20180204041136.17525-1-richard.henderson@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: 2607:f8b0:400e:c05::244 Subject: [Qemu-devel] [PATCH 09/24] 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: peter.maydell@linaro.org, cota@braap.org, alex.bennee@linaro.org, hsp.cat7@gmail.com 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 From: Alex Benn=C3=A9e 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.14.3