From nobody Thu Oct 30 15:31:14 2025 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 1525999769007266.42491357798656; Thu, 10 May 2018 17:49:29 -0700 (PDT) Received: from localhost ([::1]:36178 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fGwFU-0004DY-7r for importer@patchew.org; Thu, 10 May 2018 20:49:28 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51944) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fGwA6-00079L-Rv for qemu-devel@nongnu.org; Thu, 10 May 2018 20:43:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fGwA6-0004oX-6d for qemu-devel@nongnu.org; Thu, 10 May 2018 20:43:54 -0400 Received: from mail-pg0-x241.google.com ([2607:f8b0:400e:c05::241]:44250) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fGwA6-0004o8-1n for qemu-devel@nongnu.org; Thu, 10 May 2018 20:43:54 -0400 Received: by mail-pg0-x241.google.com with SMTP id x145-v6so1673335pgx.11 for ; Thu, 10 May 2018 17:43:53 -0700 (PDT) Received: from cloudburst.twiddle.net (97-113-2-170.tukw.qwest.net. [97.113.2.170]) by smtp.gmail.com with ESMTPSA id y24-v6sm4216728pfn.23.2018.05.10.17.43.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 10 May 2018 17:43:51 -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=+c1OY33GlD9jbumQABSh7zqANKi8GohjosLjplvUxw4=; b=hO3qVGYMed1cFNgFr95vWvsK1WA0Ay2Y/Njo80gJ8GhuHLktNrfUuOlgwbowIWsIeW IjxmLQvYEnaqVYD+DO5qaZ/b2QhXIYSEK6tnP6lkO+5ferZJMPCnVe8Er+tfgsFzsXit VaQh9i25Ajtnm7r888O/pykOz+O+co3ZsiFSU= 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=+c1OY33GlD9jbumQABSh7zqANKi8GohjosLjplvUxw4=; b=iTrUtj6XnhLpGwN8O+c2mJr+YDDSSJFVoSaIe6fFSmTT281/WLxNTHDltDsJVlxw/6 qWA9vLv/hZOwJC8s7hdMVE8nCdzRPzVJD7c/8IlvcB+WhU4QcRJT0S08j+HuIzEgVIlp sNo9poFXn0NNegXw2b9Q/G442SOUukv9auA3TjhpQ96Ns4oLs5T5yMSdlhwqUC2GaZij ZRfaodUnneGBxD0ZUfv4eOJIW5L75KAJwXv6iulQvcBktmeH3fTxQq0aeQ7aXV6qOt9d ooGMno0b7tLXoLvEZE2nUwwjzAaHoGkCBekbI3w4yohHGv2EbXN5Xfdxa8rrlBA9OUD+ QEGA== X-Gm-Message-State: ALKqPwd+3qq8/3lB49SGOs3b+iMjPc1LF95s5kNlM7F/GXuoN+lPM2As QR8ApFCObp+D7tKm1FKW28Bbhb2tJGA= X-Google-Smtp-Source: AB8JxZpKXwrHRMtPbBF3KCcLeJjOI2iXPnQgqFi0jf83IVRKYGy2DiiBJrYZHjrzp8guY3JN79DDTQ== X-Received: by 2002:a65:6645:: with SMTP id z5-v6mr2746318pgv.43.1525999432677; Thu, 10 May 2018 17:43:52 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Thu, 10 May 2018 17:43:29 -0700 Message-Id: <20180511004345.26708-4-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180511004345.26708-1-richard.henderson@linaro.org> References: <20180511004345.26708-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c05::241 Subject: [Qemu-devel] [PATCH 03/19] fpu/softfloat: Move softfloat-specialize.h below FloatParts definition 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, alex.bennee@linaro.org 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 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" We want to be able to specialize on the canonical representation. Signed-off-by: Richard Henderson Reviewed-by: Alex Benn=C3=A9e --- fpu/softfloat.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/fpu/softfloat.c b/fpu/softfloat.c index e7c8213a5e..5e4982b035 100644 --- a/fpu/softfloat.c +++ b/fpu/softfloat.c @@ -95,16 +95,6 @@ this code that are retained. *-------------------------------------------------------------------------= ---*/ #include "fpu/softfloat-macros.h" =20 -/*------------------------------------------------------------------------= ---- -| Functions and definitions to determine: (1) whether tininess for underf= low -| is detected before or after rounding by default, (2) what (if anything) -| happens when exceptions are raised, (3) how signaling NaNs are distingui= shed -| from quiet NaNs, (4) the default generated quiet NaNs, and (5) how NaNs -| are propagated from function inputs to output. These details are target- -| specific. -*-------------------------------------------------------------------------= ---*/ -#include "softfloat-specialize.h" - /*------------------------------------------------------------------------= ---- | Returns the fraction bits of the half-precision floating-point value `a'. *-------------------------------------------------------------------------= ---*/ @@ -241,6 +231,16 @@ typedef struct { bool arm_althp; } FloatFmt; =20 +/*------------------------------------------------------------------------= ---- +| Functions and definitions to determine: (1) whether tininess for underf= low +| is detected before or after rounding by default, (2) what (if anything) +| happens when exceptions are raised, (3) how signaling NaNs are distingui= shed +| from quiet NaNs, (4) the default generated quiet NaNs, and (5) how NaNs +| are propagated from function inputs to output. These details are target- +| specific. +*-------------------------------------------------------------------------= ---*/ +#include "softfloat-specialize.h" + /* Expand fields based on the size of exponent and fraction */ #define FLOAT_PARAMS(E, F) \ .exp_size =3D E, \ --=20 2.17.0