From nobody Sat Nov 1 08:17:32 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 1526336312409836.4965558456554; Mon, 14 May 2018 15:18:32 -0700 (PDT) Received: from localhost ([::1]:49906 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fILnY-0004EO-EG for importer@patchew.org; Mon, 14 May 2018 18:18:28 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52393) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fILhl-0007oW-Vn for qemu-devel@nongnu.org; Mon, 14 May 2018 18:12:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fILhl-0007Qj-0K for qemu-devel@nongnu.org; Mon, 14 May 2018 18:12:29 -0400 Received: from mail-pg0-x244.google.com ([2607:f8b0:400e:c05::244]:33424) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fILhk-0007Om-RG for qemu-devel@nongnu.org; Mon, 14 May 2018 18:12:28 -0400 Received: by mail-pg0-x244.google.com with SMTP id v7-v6so3276339pgs.0 for ; Mon, 14 May 2018 15:12:28 -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 y2-v6sm14512457pgp.92.2018.05.14.15.12.26 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 14 May 2018 15:12:26 -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=ebFxh3+eguD7gF5K8+FfZvuBwarnBxL0aNh5uRBWCAs=; b=cD6+Nu783+P3CV39HIkihsJG14Lpep8gWzTnWD3crTjqZolahDVU1wfb74Z29WYqjS OGqaE1hwT7rYxjO//2TTGjmsryKwcpVXVaidiJfaVH3HlCbuy/Jw9+FXuXaSp7VM9Zpc 2rDWMVRyY5vbV0/2Ktt1maSyzg1ijdKqImdvg= 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=ebFxh3+eguD7gF5K8+FfZvuBwarnBxL0aNh5uRBWCAs=; b=gmJbuwpDqG3prz69dE2i//iyps9APLS8BYl6iU8VuVytS05jMLWT5HcSLic1T5PxOD 9WfG87XY6lMujBjhazbWsrJvthGByAA9WpYVAER7MZwVU9PzxLa7vYqUYky1az5Sv+TZ h9uCNPNk+UZbl69W1CGb3CGbWrYwVt07+O3CL5AvAdJA0UlDBMeudv0M0jWG7BJIfvr+ hrH9dOv0J/tk0E2MBUxulQm7hqvSP5nG0jhMv4YE9uhYI9qCrwe5fXQIGBl5bgVfzdc3 d8+DD+VhSlcFX/z2N2jbRuN366JaoA2tNTmtyoGDCDTth4MzoPayh5GvQRRxuVoioUwy 5pBA== X-Gm-Message-State: ALKqPweJfcimnJ/fk/9Yr24seKORFFXKnAH5HgITAkPy8+UCz7x+C+yw KqD9kQceq/ZBlVIyoQC+BMRcZEYalGs= X-Google-Smtp-Source: AB8JxZrBcutDwDlOQVNMb2owIN8lqW+uowcunzDvA5TAsPm2Hsv8FUUq5PBrRe8urLIJj5r0YpwbsA== X-Received: by 2002:a62:3889:: with SMTP id f131-v6mr12184027pfa.173.1526335947560; Mon, 14 May 2018 15:12:27 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Mon, 14 May 2018 15:11:55 -0700 Message-Id: <20180514221219.7091-5-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180514221219.7091-1-richard.henderson@linaro.org> References: <20180514221219.7091-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 v5 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, 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 We want to be able to specialize on the canonical representation. Reviewed-by: Peter Maydell Reviewed-by: Alex Benn=C3=A9e 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