Message ID | 20180221110523.859-10-alex.bennee@linaro.org |
---|---|
State | Accepted |
Commit | 13894527f522caab4ec74334191ef29af975e521 |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp501991ljc; Wed, 21 Feb 2018 03:18:24 -0800 (PST) X-Google-Smtp-Source: AH8x224ZLN7MQdI2JKwugoy9j4QU3bW/MfER+eftNzrZrz17Egd5NE3m2W+xU8QrI/G8WEC0OZBS X-Received: by 10.129.94.84 with SMTP id s81mr1847640ywb.243.1519211904210; Wed, 21 Feb 2018 03:18:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519211904; cv=none; d=google.com; s=arc-20160816; b=jfDetYTSVxibWRwvKnSNrsZ/27SeAw+cYV9VxvnUh45LmSUkE6DHj7KFUQDoc8VLHf r1f7fE0RuLT6C1Z8LZyB7/uTZnLQoHOUgQfrplJhgMH5iZH3YX63yDEqL4JXomzsyC7a UJjlilgSLmRR2kE7i5LZ5lgr5Rcr35Sulv6HIltmYetHP0R2QAcuIM3NpxQQxn6Qfw6o AExf0kTjQaWd9lyzqIcVn+8GQcZ8nHHuGqnSA7r/TQyvGO57US5t3SMZqtM7AfvC+ltA kj7+aUT800dUcctDlCxg8jvRl7W2Kb741WIpmWvDeiAbwUXXpEJwv6usrKI7WfT0byQi vFSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=5UqaGIR7VPPMGTMdgTD3t4p+27fH5UfnySnUAHOvKqA=; b=N2dVMsNCY9YKoGWXavbiysJEEV8c4no4PKK6A0YoUPzIEHxUbFLR5BTAbnTTkDSaSh roRZrv8hgTlDkl9xZi+QfA74F7EwGTJ7abtiuSVL3DL8kffsFS+gsHXLKt8HV/Au89HC 2Nzqr4tpiCQOx5PZ9ttiR1dQOcJtKTrmbXQ3u/zg0j3tNIsChvmjgxlgHxnEP3NclywX yC+WHkNhd9RkqVKJHvjyUjRoFugSfpPTJ2wj+iUlaUSwPRDN7egiyTyXfxUESZt4wxe4 YBUWgNN+c9hFp1AGkKsvdNE5c3E/hmuj/S70ogUnW+ASo5z5vS3jsuHPC39k5W2UQ442 KdVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=MnksuVzK; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id y79si673797ywa.307.2018.02.21.03.18.24 for <patch@linaro.org> (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 21 Feb 2018 03:18:24 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=MnksuVzK; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:60101 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1eoSPn-0004qZ-II for patch@linaro.org; Wed, 21 Feb 2018 06:18:23 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35376) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1eoSDd-00041r-HA for qemu-devel@nongnu.org; Wed, 21 Feb 2018 06:05:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1eoSDZ-0006i9-Ig for qemu-devel@nongnu.org; Wed, 21 Feb 2018 06:05:49 -0500 Received: from mail-wr0-x243.google.com ([2a00:1450:400c:c0c::243]:38138) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1eoSDZ-0006hu-CA for qemu-devel@nongnu.org; Wed, 21 Feb 2018 06:05:45 -0500 Received: by mail-wr0-x243.google.com with SMTP id n7so3286743wrn.5 for <qemu-devel@nongnu.org>; Wed, 21 Feb 2018 03:05:45 -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=5UqaGIR7VPPMGTMdgTD3t4p+27fH5UfnySnUAHOvKqA=; b=MnksuVzKr37KlKKAiiqSSlcxUWJJElE38Ayzdw/Ja0I3NjcYKXorNG0tupVjqxXjiT fiEBWRoGThtWk7D34zVXdEH7l3Aq2qIakaqFrKlxcqzS6oUvoRMYDtuhVukXsS+G7G+5 93ZH5vXdBiqnLOQA76zkgJj/QroOVVcRbtLnE= 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=5UqaGIR7VPPMGTMdgTD3t4p+27fH5UfnySnUAHOvKqA=; b=nABGtIO8tuA+eXk1oRhEIHxQ+1RPdxjl724NKPTpQ35mObJpsiPkM2bysDK1u2PrMK qksBfGTQyFqUVRyf0sSoe1zoNpHEPCTrrsLgEKmh0ghvaESHiHbeXeNdVfUKlinPFnRv eHyHNj9GWDL9aK2EXykB2UiUslsbcpJvfMjnj4uoc3jkQwG3SwKfgrRKX2scf3zxN0kf ddixXwRCkfiju6+1gPO3gRnA/GRX+s+cssXUUO0PD9zl4/xUkT4bybT2Sp20Ta6ej/4E IB/AEqyaeM4Hd7P1FR77XigB0jbDt9nCmdnSBmTREfD/rG1/Rg7hEU12ecKjytuWXnJd rlTQ== X-Gm-Message-State: APf1xPChTcYvJQLz2tW6yB9oGtkkMXnYkFI1AfFeMGjrTNLWJ6MfzBz+ LJ+8+1ynuQR8ojhhs0eoBgsrRw== X-Received: by 10.223.199.10 with SMTP id k10mr1162763wrg.186.1519211144357; Wed, 21 Feb 2018 03:05:44 -0800 (PST) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id m86sm28764363wmi.40.2018.02.21.03.05.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Feb 2018 03:05:36 -0800 (PST) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id E34AF3E076E; Wed, 21 Feb 2018 11:05:23 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org> To: peter.maydell@linaro.org Date: Wed, 21 Feb 2018 11:05:09 +0000 Message-Id: <20180221110523.859-10-alex.bennee@linaro.org> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180221110523.859-1-alex.bennee@linaro.org> References: <20180221110523.859-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::243 Subject: [Qemu-devel] [PULL 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: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>, qemu-devel@nongnu.org, Aurelien Jarno <aurelien@aurel32.net> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
re-factor softfloat and add fp16 functions
|
expand
|
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) #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)