From patchwork Thu Aug 8 16:41:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 170822 Delivered-To: patch@linaro.org Received: by 2002:a92:512:0:0:0:0:0 with SMTP id q18csp8816203ile; Thu, 8 Aug 2019 09:44:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqzl46dVYVaw8qpcGh3fanFx9XQQXIYdmdn2jk9/HVWMc+SkeesDiWD6WGnBo80NC4a2Opok X-Received: by 2002:aa7:c3d8:: with SMTP id l24mr17447224edr.58.1565282643168; Thu, 08 Aug 2019 09:44:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565282643; cv=none; d=google.com; s=arc-20160816; b=XMcPwjnNk+SqCrnp7kG1NMUoWuWZSnVuEguTVxy3jdUjU3FqLKeki8fUqjFv7XXByn h6EoSwC6OGqNu3DcA1if3nAgu2OPBz/GlcXdk1yRDbaBi67OCgOKVrYn69nFcN6+xmLX lR/9pTPVguMdkELnFVMoYXFKXv0WZSuWKk2jfmYmSLeL36T9yo+SOz/3n+XE5XHe/7zK nga4bnFtB5o+rw25bXMt+ZlN3qMy1VPJhpEnEJQd7EMRirSU/+RSP3fNCS0FLeGWHqfd rb0qVV2o8a1lxCqMLI0j0ocWJrDGOEi0i041nNOLHrrdSIL6f81caBITHosyurD7MWDo e3nQ== 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; bh=tUBhSG6/x7Tr0aypyO/Nit66ev0ekNFuf88g/cOO/o4=; b=QYXd2w3JsJlBk8tRz3KrP9RDUuZsgiimpvFS7bjkaqT7/oI/AgPgtBWpnt4c5DtoMf IjpRca+yp+5ftiDekYA6zcc4vS9Cz67YqPda4d5az8YHkM2zfsmmDpIMgsmb1H4IpZ/o Rb1UQkV6hOgIBtQQPlqlKRoCGgozPrU4kTc7glHRTOgejB5EUzcaz71MvK79Q2GyPw7K sueZA43ro5Zhz56jloHmjh9MnuEFoH3/gqiWerFpd+b2ibA55tZdfJE8n2/mfuRtz+5x kMqpAGwl26Ii+KUSXUrf1+sdNV3OaDarPGCwRjPLMJm1N6DtiP63N+nsVei71IwQNXth VsTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=hDy8FIj+; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 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: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id gf13si30539929ejb.228.2019.08.08.09.44.02 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 08 Aug 2019 09:44:03 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=hDy8FIj+; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 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]:54102 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hvlWE-0007zs-4g for patch@linaro.org; Thu, 08 Aug 2019 12:44:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55100) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hvlTg-0004T0-C5 for qemu-devel@nongnu.org; Thu, 08 Aug 2019 12:41:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hvlTf-0007Wa-1G for qemu-devel@nongnu.org; Thu, 08 Aug 2019 12:41:24 -0400 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]:35460) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hvlTe-0007VQ-RM for qemu-devel@nongnu.org; Thu, 08 Aug 2019 12:41:22 -0400 Received: by mail-wm1-x341.google.com with SMTP id l2so3081714wmg.0 for ; Thu, 08 Aug 2019 09:41:22 -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=tUBhSG6/x7Tr0aypyO/Nit66ev0ekNFuf88g/cOO/o4=; b=hDy8FIj+EEmT7XM2OtG08Jp5V2Be9XnKMPqQUqSxtupoN6GaNYTMkzS1g3Xc4cM/a/ lvHaunTJ9BqdVO83EXB16qPzL1sQmy5ciVTFpuGySpWttb7GWfN96dtjG3S7Jg2vo1HY p03oyVjqTxxzzu5q48AUfgEcPStkE4JpNFNV/t38w+o68r7g9WbSil5bCXwA/b4LMBXU GFZYkfb8wzgDtJzujtJfGrYShfHXnL7jOCAWkx3OVvGvIX7Hh2ScpLNHr6IJ0DCryTN8 fd+i5VJikLWu2vtCakrlP+ncByaxRpgVsxFd/axzvVrtpd8WNiI0j6d6eC45Q0vPdfv2 U5vA== 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=tUBhSG6/x7Tr0aypyO/Nit66ev0ekNFuf88g/cOO/o4=; b=OgE8+GEN7jfwqi9DjRJyub7aak5KmayG6bzv/huzFFiyz8do2Sb0H5byK5IS9RVGPy p56NjRkD7/qhrVYDiJzkzYfzRgt7YXLmlRwN3YWXtidh44SJp9yyE3cyYPDG+xo+ALip CIESzFD5IikcPSJlUgjFOepfzU3+W9LhvIYkY+0m+qanpbgcTCDlGQDrkR8ET1bUi6X9 s4ox5CcIOIBaaVeneMPBogLQHGv80fU/GhrSNWkYcd1TYn5jBHrdGV72UmocLPMrQLN9 VVT159KMVwPpc9zzexpCemylKJ1lyrYu4V/ovvwiUdc5RbZF8LvAUb3fuE6cRa3Ddyxm GDIw== X-Gm-Message-State: APjAAAUpsgqQ1FniH0J9zh5nNX6N2r5N+KeyiLRizKw9Yk8M3vwh2CtJ idx8O8ejXJvNU/4VY8FM8nMnoyIHtgk= X-Received: by 2002:a1c:2ec6:: with SMTP id u189mr5288225wmu.67.1565282481732; Thu, 08 Aug 2019 09:41:21 -0700 (PDT) Received: from zen.linaroharston ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id x20sm209525398wrg.10.2019.08.08.09.41.19 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 08 Aug 2019 09:41:19 -0700 (PDT) Received: from zen.linaroharston. (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id B49FF1FF91; Thu, 8 Aug 2019 17:41:18 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Date: Thu, 8 Aug 2019 17:41:14 +0100 Message-Id: <20190808164117.23348-5-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190808164117.23348-1-alex.bennee@linaro.org> References: <20190808164117.23348-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::341 Subject: [Qemu-devel] [PATCH v1 4/7] fpu: rename softfloat-specialize.h -> .inc.c X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , =?utf-8?q?Alex_Benn=C3=A9e?= , armbru@redhat.com, Aurelien Jarno Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This is not a normal header and should only be included in the main softfloat.c file to bring in the various target specific specialisations. Indeed as it contains non-inlined C functions it is not even a legal header. Rename it to match our included C convention. Signed-off-by: Alex Bennée --- fpu/{softfloat-specialize.h => softfloat-specialize.inc.c} | 0 fpu/softfloat.c | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename fpu/{softfloat-specialize.h => softfloat-specialize.inc.c} (100%) -- 2.20.1 Reviewed-by: Richard Henderson diff --git a/fpu/softfloat-specialize.h b/fpu/softfloat-specialize.inc.c similarity index 100% rename from fpu/softfloat-specialize.h rename to fpu/softfloat-specialize.inc.c diff --git a/fpu/softfloat.c b/fpu/softfloat.c index 2ba36ec3703..80a16458304 100644 --- a/fpu/softfloat.c +++ b/fpu/softfloat.c @@ -652,7 +652,7 @@ static inline float64 float64_pack_raw(FloatParts p) | are propagated from function inputs to output. These details are target- | specific. *----------------------------------------------------------------------------*/ -#include "softfloat-specialize.h" +#include "softfloat-specialize.inc.c" /* Canonicalize EXP and FRAC, setting CLS. */ static FloatParts sf_canonicalize(FloatParts part, const FloatFmt *parm,