From nobody Wed Feb 11 05:11:16 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 (208.118.235.17 [208.118.235.17]) by mx.zohomail.com with SMTPS id 1526486492230873.0139441778343; Wed, 16 May 2018 09:01:32 -0700 (PDT) Received: from localhost ([::1]:53059 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fIyrh-00023G-Gy for importer@patchew.org; Wed, 16 May 2018 12:01:21 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41844) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fIyjb-0004II-29 for qemu-devel@nongnu.org; Wed, 16 May 2018 11:53:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fIyjV-00050X-Cb for qemu-devel@nongnu.org; Wed, 16 May 2018 11:52:59 -0400 Received: from mail-pg0-x244.google.com ([2607:f8b0:400e:c05::244]:39673) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fIyjV-00050K-6R for qemu-devel@nongnu.org; Wed, 16 May 2018 11:52:53 -0400 Received: by mail-pg0-x244.google.com with SMTP id e1-v6so468848pga.6 for ; Wed, 16 May 2018 08:52: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 c3-v6sm4966632pfn.62.2018.05.16.08.52.50 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 16 May 2018 08:52:50 -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 :mime-version:content-transfer-encoding; bh=X0O0oscg2DXfZxWsZs+cPbi2oDfigSQN1qMljqBQmYE=; b=OTO4YGvAbBxE/XUUdMgeAorHczs/uvLYI+4I2m1pFT2QWbhwgXLAbYFnLmG0x/mwxt +9Hp0jK1ktvGxPu+xkUl0RWzr50DbA92QdhMIT8iAL5SKvb7sou91QnI2PwULrqcVg3D 7U6o1YQxDDSKaSoZBZReAADIu/9Hitm7wvQ/c= 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=X0O0oscg2DXfZxWsZs+cPbi2oDfigSQN1qMljqBQmYE=; b=KH2xaqK9Mqr6DatSAbi+HT5aG0M9I6J7ZLlyioMa5Vk8BLI79QFT1L4hN41dDn9y8j 8zpQBZ7uRkLSNPfL3d1xH8evrWaND0WWf6nFHGUaKVMy3Vv6x+KUDP0ON/AV9+9wUhjq A3k8VpSccE84DgF5N1UTxZHw9Z8tFQgOjk6MoxWbCjFphIDUmFNTk/Yr5WXronr7B5iu YaPXO+0qOH0hckc+0ApmDmFcim5bFih35wWkNEfoLgzIovhpAn5/7MDMUHoCjCA0Tvcb OYGSqK7NfWKEwpuUIQBTSWVLK228dLYQohMlYoE+1YvUvFPjfLoyQBkB6M59gwaXe4g6 qM+A== X-Gm-Message-State: ALKqPwcv8+n4VH4CgXvGE9SWBCpoGnJRX7jt0cJTa8UplbfHd3+GgRtn XozrBR+key/KrNbO/D68XJE3YdWrWvI= X-Google-Smtp-Source: AB8JxZrSIJKjzZsc/HYuF/qM9/uvB/gBCWAobrTeNFRNZOIs6MMKXyC/8ZFF38ptnpRurGnLfvThIQ== X-Received: by 2002:a62:3f81:: with SMTP id z1-v6mr1502225pfj.216.1526485971768; Wed, 16 May 2018 08:52:51 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Wed, 16 May 2018 08:52:19 -0700 Message-Id: <20180516155243.16937-5-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180516155243.16937-1-richard.henderson@linaro.org> References: <20180516155243.16937-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] [PULL 04/28] 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 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 We want to be able to specialize on the canonical representation. Tested-by: Alex Benn=C3=A9e Reviewed-by: Alex Benn=C3=A9e Reviewed-by: Peter Maydell Signed-off-by: Richard Henderson --- fpu/softfloat.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/fpu/softfloat.c b/fpu/softfloat.c index d07419324a..0d17027379 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'. *-------------------------------------------------------------------------= ---*/ @@ -322,6 +312,16 @@ static inline float64 float64_pack_raw(FloatParts p) return make_float64(pack_raw(float64_params, p)); } =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" + /* Canonicalize EXP and FRAC, setting CLS. */ static FloatParts canonicalize(FloatParts part, const FloatFmt *parm, float_status *status) --=20 2.17.0