From patchwork Tue Aug 13 12:49:43 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: 171187 Delivered-To: patch@linaro.org Received: by 2002:ac9:5c4b:0:0:0:0:0 with SMTP id r11csp859599ocp; Tue, 13 Aug 2019 05:52:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqyYok0Kt2EbUWQirXGK/zkvdB2hV0letXIyCbOOta8xoTNJY8uu0e3/u+XRR5nyOkZrhPng X-Received: by 2002:a50:b3d0:: with SMTP id t16mr42032984edd.158.1565700745637; Tue, 13 Aug 2019 05:52:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565700745; cv=none; d=google.com; s=arc-20160816; b=C2l/QBX4QUuB381eYY2GIcWhM7TANivePymO2CCRMdcIYpjSBBk3i+zaaXnV0mjOth HB1rkiMFjdYg98JHxt/Sd9IlQgtQeVWozL2YJiH1SNl62967w5lzIgTn2CSlWxrzeVCk ck0LSgbwNykkom7Ihxl1dpcz5igXlNwICIXteXPJlhCmWT8BfYRT+W13VbZpEAknMwV2 1DwWhbS5C2hHpFw93zJbKUmDcfBmGrHyNeHDOOOaDr0Mi89cbH1GFBCRg378ZUmjfxI9 j1jLdRuSXEm5jg44WrMOifJT/1CpN3MpfioAYokQ9DyQIDxx2T50WvxCtUqidlRlEegN Gguw== 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=7gMIeXb33bJiJJ2wC99NJRgf91T+h2agcGiVoSf4NFI=; b=a67agKuryFptMl9hK4oKnQeTIMIWSXQJ82FvwhjpqsKtdOEzGv3/A2kMjHAT4HlKK/ HhVJrZaeyOuaQWbR/4gBjb80vNyaDfEfeGvY4a01pRKsbmLQo/hkcx6GCF6v7BEok4CY XTR0XaXBeegozJt/G4jI6RVJTNEWTlSfL4flTHqH5kuVAm3+ZWNuHLesSeoH1FHeffnk h5mqIXxyFgeq+UoipyaNoenz04D1iQg+A6MukuMqD4qijtmqAS1IoDlkn1RbvQv/KiA1 34LXgrB2ThpVy4Se3jWnJfSgNziXR04DN1eY2cR540iyzUheZsT364Ru+dYJOnVerxM2 XTBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=AtkGgsui; 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 w15si2215111ejf.253.2019.08.13.05.52.25 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 13 Aug 2019 05:52:25 -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=AtkGgsui; 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]:52010 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hxWHo-0005uF-L7 for patch@linaro.org; Tue, 13 Aug 2019 08:52:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53641) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hxWFR-0002Ts-1C for qemu-devel@nongnu.org; Tue, 13 Aug 2019 08:49:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hxWFQ-0000l1-1m for qemu-devel@nongnu.org; Tue, 13 Aug 2019 08:49:56 -0400 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]:34626) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hxWFP-0000k9-S8 for qemu-devel@nongnu.org; Tue, 13 Aug 2019 08:49:56 -0400 Received: by mail-wm1-x341.google.com with SMTP id e8so1009716wme.1 for ; Tue, 13 Aug 2019 05:49:55 -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=7gMIeXb33bJiJJ2wC99NJRgf91T+h2agcGiVoSf4NFI=; b=AtkGgsui1bxAw0W/eI+q06kI2PErsc2z8s4oTsD9Kl5APeF2G1TOwavC/uSEoRy3rv ALXF2RG6BmCPJ4AGv2VbsluYkQ/SRzZpz/brustAm6AeabRHnJQIX7fJzzqiG6vZzKEo Zb/ZWfxYr28V483fDYpFUxj7u2qOBcmVBlcsc76YWMoAnDN9PtDa6TQA70cinwxwhBqT Bj7Yc2xuqBWrYX8VdVRI427qx8ulF3C29O/xak/SNwfai5Vb//eSdrEkFptOO3sbVIf5 fhCTyWrnYZPjZhcT73dLmeM6+UuCAQgukWwGESKVUBZRVbpzMf4AtVNHjRGDN+F1D1Ph RCaQ== 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=7gMIeXb33bJiJJ2wC99NJRgf91T+h2agcGiVoSf4NFI=; b=o8HnHA/TAxRhOHXw1bAOwFuu9HaOzjiREFayOQFD+XtvV4CK5A51OxgnGOtpvQZ/am 1IAgjnnjc0dek9o9BMl4hhMpO9XHV8tKjRLhslLF+SIvgqCsUQ7xtFT17H5yag4Pwrk8 ra6eWCdXOy8HH4kbtyzT6hzgvGrfnq8oUJOVxAtFWJ5Nu1/b2VVWBkSjk1V7O4iCQSL2 IAP9mok67/zIVpdW4k8ocmz1jTOfrgt7u+0HWtrWgPPg04GhmHyryf6XQV4PvftuX8Na HFLt0RiQIIaP0dJRRTzL9If5zmf6YmjQifkxgXvVK7rucqXvFvcCsuHAykA/2sqRpQta xXoQ== X-Gm-Message-State: APjAAAVlICwpXx4+R9Xu23ASL+bB2kXrnBezWtq5UB0qGEyD0N809ZDA f4shUfCSAxPvjL8s11xpUgynEQ== X-Received: by 2002:a05:600c:23cd:: with SMTP id p13mr2791724wmb.86.1565700594824; Tue, 13 Aug 2019 05:49:54 -0700 (PDT) Received: from zen.linaroharston ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id x20sm236796612wrg.10.2019.08.13.05.49.49 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 13 Aug 2019 05:49:51 -0700 (PDT) Received: from zen.linaroharston. (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id C6A4A1FF9A; Tue, 13 Aug 2019 13:49:47 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Date: Tue, 13 Aug 2019 13:49:43 +0100 Message-Id: <20190813124946.25322-11-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190813124946.25322-1-alex.bennee@linaro.org> References: <20190813124946.25322-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 v3 10/13] 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?Philippe_Mathieu-D?= =?utf-8?b?YXVkw6k=?= , Richard Henderson , armbru@redhat.com, =?utf-8?q?Alex_Benn=C3=A9e?= , 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 Reviewed-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé --- 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 6bf6241710f..6e98fee48a3 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,