From patchwork Fri Dec 16 22:52:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 634507 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp1095126pvb; Fri, 16 Dec 2022 14:52:31 -0800 (PST) X-Google-Smtp-Source: AMrXdXvUbjd1bAnKcNcnDlEkzgd07MyCjRCNHZSG3v00WDcENSVYEJaYK3FfdPfPuhUNiK1FYuzv X-Received: by 2002:ac8:120a:0:b0:3a9:7e3e:adff with SMTP id x10-20020ac8120a000000b003a97e3eadffmr16885qti.41.1671231151327; Fri, 16 Dec 2022 14:52:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671231151; cv=none; d=google.com; s=arc-20160816; b=TCmmWgoOKkVB+jnJpgkTZpf8FwTnh/vqGVe4g9SqGMDwlB+GpH6LhlPjFpKpVaRarO /8IhPCkfkU+vepI0mh3nYoCJGpXwUM1jFCaxAOXeCb8gjaMTWY+OhoSBo/a+2sGasduL 5F62LvGw865k89A2wkD3sN4UUbLh44Hcd2lVtfPh3o9nNqx/3XVrwD+kTW0xWtQ/Plcp smMSVivbBWMmo7WdwSaGonjy5w8w6PRaY6Jh+NpxKHNerVXaMv976QcSIhCLpWY4zhIa lkJ/+vbRbN+nGeBpkAXa/Kv3aC/dcSoIlm1uBQd9kWS1qGJWK/BLL39b4FXsHookNx3A LbnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=ybD/92qbfCBHmmXrwHRCoshpIk6o0/6l1Z1VWLP7xmA=; b=Psah6M4SnKe/nvu3SASv19tvfIjx2wi74CFBLANW+ThwEua040PJZSlge5VdWzG5+r EQEz3grsl3zTvb3LYHCq2Z7HTB/U9VPjAmibjmpij2Mq8xmeecZewtgKZqtQUmu8NdnX 1mqiZK9O7NOKGJ7839c7TiJihnvFC+blOVVLWcPcpSnAm+V1HzN/2iWd9UbkcLD8PIDj cE6h5lbLf7eNulHUz47K2t2GDOPG4t1UH+nlnoUBHUIZxxYAVvHpjycAPhN75D2Bd0ZO +1x7YFTnJhlV5P/541eBmcqZy/hxEJmaD+lcnE3Onzen8roiHjIn/BLd/RiuYwVRBuuG 98zg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rNBJiI3r; 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=pass (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 fb14-20020a05622a480e00b0031f0e2230d5si1577816qtb.609.2022.12.16.14.52.31 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 16 Dec 2022 14:52:31 -0800 (PST) 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=pass header.i=@linaro.org header.s=google header.b=rNBJiI3r; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6JYo-0007Mb-VQ; Fri, 16 Dec 2022 17:52:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p6JYn-0007M8-Ko for qemu-devel@nongnu.org; Fri, 16 Dec 2022 17:52:09 -0500 Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p6JYm-0007Vo-3Y for qemu-devel@nongnu.org; Fri, 16 Dec 2022 17:52:09 -0500 Received: by mail-ej1-x632.google.com with SMTP id m18so9474987eji.5 for ; Fri, 16 Dec 2022 14:52:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ybD/92qbfCBHmmXrwHRCoshpIk6o0/6l1Z1VWLP7xmA=; b=rNBJiI3rM2Xvt6sjAmLp9CfVQcRgqQ6bTx56qHumWphDmfZ43vrWSc97uX2fLosW2c CYPzadeZkcJgH0D4s+UCpP7qxEXnPtUxXLHz6gDoLJG9z9FnB6wdjiT7LKCAJliGyPyO h5oAT7TqnYxKyiRITKr1iBQk4/LJKgmi6T/vujWfKLkQO4DBPilL2BALqzi3JX09C4MS +m+pOFXTUKD0s1kAoIaunbVSVgeZ8zis2TXWWPTRTkf8L929U74DtoFO3OpmU/e6xmPn T6yxNH8J8/uj3OBUxiViTigwRGIYNJ4V4pa9/vg5IVOe+nQATwWJIrCsmdBCbC6Uk0HQ LanA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ybD/92qbfCBHmmXrwHRCoshpIk6o0/6l1Z1VWLP7xmA=; b=JIS3KiP6E6Vm94hZ5bNzGCo19ZJL44IHVP3/d4GJcCRbWPvuEukvqVHxGq5Nl9C4tI W/bbbakUqEfM8hzIYdQFBw9urTiTemzeYx5E1y8ehC7umgOZBjco9xmG1verV3M1zvM9 ER4zZPlnSK1HbSdZQ8P/5kKf7FHcIKzOAQ/9/7/VEfaAb7ykT6GyJ4lOjfstZ7lyu1Tu mAQ7byNTH7g3G3sofBWfBZZMUYiaTi8EZ/Tuc9sAM/RNvwZsrsfkITuc3hJZQVbIyQb/ CnyWiSwMUiXBlE8l3v/liyWX3iTZVztMg+RWEoEYqCkMrUzv1Uyx1CWyy0yRENz8xCsl 5hog== X-Gm-Message-State: AFqh2kr7jQWYr6a8YvrN1FLQhnefoiGABVpCrY3eBM2gQrpI2nDm7Sty SMYMhczu+akUcntGfbBD7Auu7FEsHeG0BUTR+2U= X-Received: by 2002:a17:906:6b13:b0:7ae:29fa:ba8f with SMTP id q19-20020a1709066b1300b007ae29faba8fmr19988567ejr.2.1671231124516; Fri, 16 Dec 2022 14:52:04 -0800 (PST) Received: from localhost.localdomain ([185.126.107.38]) by smtp.gmail.com with ESMTPSA id i26-20020a170906a29a00b00782e3cf7277sm1300090ejz.120.2022.12.16.14.52.03 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 16 Dec 2022 14:52:04 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Richard Henderson , =?utf-8?q?Philippe_Mathie?= =?utf-8?q?u-Daud=C3=A9?= Subject: [PATCH] exec/helper-head: Include missing "fpu/softfloat-types.h" header Date: Fri, 16 Dec 2022 23:52:02 +0100 Message-Id: <20221216225202.25664-1-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::632; envelope-from=philmd@linaro.org; helo=mail-ej1-x632.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org 'dh_ctype_f32' is defined as 'float32', itself declared in "fpu/softfloat-types.h". Include this header to avoid when refactoring other headers: In file included from include/exec/helper-proto.h:7, from include/tcg/tcg-op.h:29, from ../../tcg/tcg-op-vec.c:22: include/exec/helper-head.h:44:22: error: unknown type name ‘float32’; did you mean ‘_Float32’? 44 | #define dh_ctype_f32 float32 | ^~~~~~~ Signed-off-by: Philippe Mathieu-Daudé --- include/exec/helper-head.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/exec/helper-head.h b/include/exec/helper-head.h index 584b120312..325a42b14e 100644 --- a/include/exec/helper-head.h +++ b/include/exec/helper-head.h @@ -18,6 +18,8 @@ #ifndef EXEC_HELPER_HEAD_H #define EXEC_HELPER_HEAD_H +#include "fpu/softfloat-types.h" + #define HELPER(name) glue(helper_, name) /* Some types that make sense in C, but not for TCG. */