From patchwork Mon Aug 19 12:17:06 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: 171609 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp2934421ily; Mon, 19 Aug 2019 05:51:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqwl9d1PQPm8MMkLwOU8EDFPLR2ztGxuj0H9MGLxXAl6x38agv3ERKEjck3OdciCs31FV0i5 X-Received: by 2002:a17:906:3518:: with SMTP id r24mr20821572eja.133.1566219076671; Mon, 19 Aug 2019 05:51:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566219076; cv=none; d=google.com; s=arc-20160816; b=fBDh7t2tNPY2mXaFWH6o/e4f52o+WovdiWuyb1zwJHghBhze0RPGKrPG9CRAELeiZD 3xNtsGc0Uvm3p4b1BV8g/sxq59/NXsvWMvq09QPaoUKTYorNaz+jHuCt2xktSkBsIMSi NZNcZA/6KDfLc/W0sTRpmXxpAZy7UJ1VjjPE9gp6v2+OHp8HTdvRXoifd2yflY1/FLWc 7pgTgXbC+poMVODI0DuElG7GA0Ivh9NLLMKVmyuN/Tnbf0a3I2/QLv7NJhW/x6euTlYn FFq7NA6hJpsEe4cq50CVpPeENaxtxUOG5MNAHW72lZGncSy80c78tRNvkE9ygQ3NfYok RRIw== 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=Utwbf3YuFsETI9r5r/jP/BTX9cC86U2GO16Ys38FQ5U=; b=hYvnA4xB4rxkgnWRqKOJf7wix+5xJ0m8ZHxSySrTScRgZHPbVLI+bD28INztnHil0j FhTSdWN1JiSz8KTz8jCj/wf2cIQel1VpI2OB1kmnBwTmduTPCfRlq+ygIOwcFRFgqc40 SAAOzuJscYtvUIcjqLna4XWTOLtR1mgnl4d1hsJ3ox6/F+AdEcWf3I72B/s6WHjgP/Fp 94b/A+OpVFf3BMDFiGSlVvNo1FB8LNATPCb+OCs269+icpiuUagnOfF4tX2cC/TtezL0 +u0ZhBLaPm8P7VWbLzmpysCiQV3JKATS95uyt9FWQCVFANc3Wg5tHSanVQ0gihzekjgP mLyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=HkSLmk2R; 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 h28si4571451ede.359.2019.08.19.05.51.16 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 19 Aug 2019 05:51:16 -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=HkSLmk2R; 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]:49565 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hzh7z-00028l-1U for patch@linaro.org; Mon, 19 Aug 2019 08:51:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37853) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hzgbG-000383-JW for qemu-devel@nongnu.org; Mon, 19 Aug 2019 08:17:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hzgbE-0007Em-Dh for qemu-devel@nongnu.org; Mon, 19 Aug 2019 08:17:26 -0400 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]:41461) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hzgbE-0007AE-5a for qemu-devel@nongnu.org; Mon, 19 Aug 2019 08:17:24 -0400 Received: by mail-wr1-x430.google.com with SMTP id j16so8477698wrr.8 for ; Mon, 19 Aug 2019 05:17:18 -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=Utwbf3YuFsETI9r5r/jP/BTX9cC86U2GO16Ys38FQ5U=; b=HkSLmk2RYLAQiCflzGnW8+lmdiYtsRiKHfeFWgJGzdr2HrPtXMoGOK6QRLddGZuIf8 O4TdTZZEUqan7It0v/hfVdvk3VRXjy2d30qKbVmr8vuZJB8oABrn7x4zifsqH75PBVrd MLLoP9DEORkU3cCUTzLZXdbVeEjUlh15v/COcYqU33jIq5IzvVt8etlvBlWv/vNuV7RF NQMKypUtrvP5JTxgVm5qFxCZkXHOEuvlnze4LyBHl9hja6TJtoXcv+K/mSzhDfLRe3Wf RjKgdvgBE43SeJFOmmrIcUSiIds461e5b1Owpd0dInlnMs2TH3c9U97ZElAnqldfKFdF vt8w== 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=Utwbf3YuFsETI9r5r/jP/BTX9cC86U2GO16Ys38FQ5U=; b=nBFoRJt/iWp0AyAphr8EmdprNVbi3Tn09bCaH0AaYGhSK7htD5RXTAO0oUACfEc1Lo yWxfCSxczRZrP4NH6X7pYFfeh60CMYr8ab9RSZZRFwteK+NjvyWSL/xBBVtGo20gLlOc rGcO/yb8rQ0u076Dp0Q1tQH4fFNOPKkzrdY9IYTRo2Ko/GuIwhrHJKOZCu1m0pP3M4ct fihhYk7zWn+ERwk3ahpqhAxuLkdEkyEVPR8U2zY9h1428T0Uwx12s6TBCNhJBe+L7vc2 HSZb2HNSVUie+m59pZQ8KZWVW08snXgZxDbwWbyv2yvd7Ct7U1pLpEKsOfmPpUYcwwUT p/Dw== X-Gm-Message-State: APjAAAXvuP9yJhIo3Y1KOBnVeW3zMxIEc8vIN/WgqDNW+ArW5Vz5zVwp 6o22lMUhUh8hoH8MrZ/ietkdzzUD2B4= X-Received: by 2002:adf:ba4a:: with SMTP id t10mr26325586wrg.325.1566217037118; Mon, 19 Aug 2019 05:17:17 -0700 (PDT) Received: from zen.linaroharston ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id j17sm13108025wru.24.2019.08.19.05.17.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Aug 2019 05:17:15 -0700 (PDT) Received: from zen.linaroharston. (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id AC4261FF99; Mon, 19 Aug 2019 13:17:10 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Mon, 19 Aug 2019 13:17:06 +0100 Message-Id: <20190819121709.31597-10-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190819121709.31597-1-alex.bennee@linaro.org> References: <20190819121709.31597-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::430 Subject: [Qemu-devel] [PULL 09/12] 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: Richard Henderson , =?utf-8?q?Alex_Benn?= =?utf-8?b?w6ll?= , qemu-devel@nongnu.org, Aurelien Jarno , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= 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 Reviewed-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé -- 2.20.1 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 7ef0638d7e4..0638c9f4e03 100644 --- a/fpu/softfloat.c +++ b/fpu/softfloat.c @@ -634,7 +634,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,