From patchwork Fri Aug 9 09:19:37 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: 170899 Delivered-To: patch@linaro.org Received: by 2002:a92:512:0:0:0:0:0 with SMTP id q18csp9733952ile; Fri, 9 Aug 2019 02:20:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqzj8QphmHlOmgSb2RQpB5Vt7zrzb7a2k/cwgDK/YkZYq/Cp7POEcJ4FF6Db8vcZ1a40MZH5 X-Received: by 2002:aed:2c84:: with SMTP id g4mr13558806qtd.344.1565342451997; Fri, 09 Aug 2019 02:20:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565342451; cv=none; d=google.com; s=arc-20160816; b=GA9xCTbHMF4UW2khgbcTJkSGT9mpeb5b0g8xGd8qnd3VIDjXc440gxAn5p2nUIIpY6 LLU1X5VGlNWcpVBK61SX9UA1OVlNTZJkP3xg4FOq0RnBVby4yU2DLp3pBhQV7yqVB8oB OZ4IL2zPFko7jinozfCEqcQptDJZ4kw3lbd7VXohw8kuoL2ZkY9c0k+Rn56ad72sXspE we+o2T7b+0W38l9RtlYiKrwaGl6dspiNZ2tFkK8MG4KtcgPDwC7XP526JeW6uFWgOcho KSKnnuDADbwfpaaisNnlYPANL3s72N9LsmY9a4YxIhQkUwvmT0nCciMwr3VJjttpkLuw Lyzg== 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=xDB7zhPlulJY0AZfd2YO/hnOBkqPwNAEQbIkpxXlrNI=; b=S9hsVAMDHgV8MZdbK454W3iZr0/a4v+mS7IX8zXDbSQq0oQJRobxTMdnG84Uzi7zlK nlWTp1REqVH5zLYipV3yqnZnFl3Ka0VMKWNVcDrWpuqZjlhfEV3iNF1yFt0djeasi8HD TqoYBJ0Peofia5CqWV+2j4BKjbwUPFf4rEPq82ZaMuKvyCCZrsnyUQY/LcHboliETniP r23vBwxJ+QGOtXyozklUPd3hIvs2wvbXkVgcMDd8xbqfRvdcqfrmQR0vKgA8dAiOoMe8 oAdezJlNLrp/P5pQIDYNUkj5aSv/LuJLaXYu9Qf06DA32u9M56xTXi+WaWw7AO5Wr2zn oIjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=PgHYLKRd; 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 w31si3400599qtj.251.2019.08.09.02.20.51 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 09 Aug 2019 02:20:51 -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=PgHYLKRd; 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]:57558 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hw14t-0000iQ-Jz for patch@linaro.org; Fri, 09 Aug 2019 05:20:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48049) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hw13r-0005xe-1Z for qemu-devel@nongnu.org; Fri, 09 Aug 2019 05:19:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hw13q-0007cm-2X for qemu-devel@nongnu.org; Fri, 09 Aug 2019 05:19:46 -0400 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]:36135) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hw13p-0007aY-Sq for qemu-devel@nongnu.org; Fri, 09 Aug 2019 05:19:46 -0400 Received: by mail-wr1-x444.google.com with SMTP id r3so3826497wrt.3 for ; Fri, 09 Aug 2019 02:19:45 -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=xDB7zhPlulJY0AZfd2YO/hnOBkqPwNAEQbIkpxXlrNI=; b=PgHYLKRd3nAf1LBHchr63z30M9y4JzRXgcaggAR1vJ+ykYgUNY6kl95pvYeT0xYZvu qqwmbzsyU62rfy5SNDgrthNKYZSb549XcEQ8OW7IVhjKEPYjnYQ34JV+9m8RhEcEAbOp qe2VDi+MLKePWJUYHJd0gzTo/ovSE2hZQNup0ZZ/3xZ9y3C/xPaD306EX/3lA0iuTENs +dk2juSyx2JEvA8OUBpkRo+dgqeZOsXLD9oU3S3zYdz8M2yCqMn+oqPF/2nms/NMNvXa URnCSBBYK35JXFm1aKN+MyYCXcQXYU3Q/aIBI/C9vZHiGz5RvjkzTN21W1o4R7EeVvl0 AkVQ== 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=xDB7zhPlulJY0AZfd2YO/hnOBkqPwNAEQbIkpxXlrNI=; b=ejSgwWCFMwv0YtWVI9gq9EGmZR2FG9oz6mLACDstJwZczOZmc7xWs7LFb4sAPwgTes 9ZFGygs8Ay06z1KdPQX4kvUJCCg9EEb69nGwsWLTOqYuCUEZtq44InNR+Ig9ev/1JV9C dLPqeTBinkdKGwtmgxM1iS2Q1EsdpUGMDOTZ2bmpTncuOYmYNFwJOCdEusWfJSO7vJq7 fxoPIOk6Oh9zNxZXq5WZjsgJkxS7Z5k4+H8THxWxbXgd16eMmRXEgE/5fDilwx8KhJf3 7FR2lP8avubMP1iCghBrjqIDYARgu28DkWpgIngzyEjwe6IlVsiNzUuI24CQ8G+jnN2E KHWw== X-Gm-Message-State: APjAAAXzzSgY1/0lbQKc/7c81LFBsaEBfnYoIQiXxULhlcSIzGgYMIEY WLhqwkeUkGrhW4pfIyI1xoirkw== X-Received: by 2002:a5d:4b91:: with SMTP id b17mr2599543wrt.57.1565342384773; Fri, 09 Aug 2019 02:19:44 -0700 (PDT) Received: from zen.linaroharston ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id o4sm3846959wmh.35.2019.08.09.02.19.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Aug 2019 02:19:42 -0700 (PDT) Received: from zen.linaroharston. (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 3F8271FF91; Fri, 9 Aug 2019 10:19:41 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Date: Fri, 9 Aug 2019 10:19:37 +0100 Message-Id: <20190809091940.1223-5-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190809091940.1223-1-alex.bennee@linaro.org> References: <20190809091940.1223-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::444 Subject: [Qemu-devel] [PATCH v2 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: Richard Henderson , =?utf-8?q?Alex_Benn?= =?utf-8?b?w6ll?= , armbru@redhat.com, Aurelien Jarno , Peter Maydell 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 --- 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 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,