Message ID | 4e69591bc749181ff41b90df47c00f18ef21dc01.1717134752.git.linkw@linux.ibm.com |
---|---|
State | New |
Headers | show
Return-Path: <gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256 header.s=pp1 header.b=AtDUPVVi; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VszCG4XnCz20Pb for <incoming@patchwork.ozlabs.org>; Mon, 3 Jun 2024 13:06:34 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id E02AB395248E for <incoming@patchwork.ozlabs.org>; Mon, 3 Jun 2024 03:06:32 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by sourceware.org (Postfix) with ESMTPS id 919763947C34 for <gcc-patches@gcc.gnu.org>; Mon, 3 Jun 2024 03:02:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 919763947C34 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linux.ibm.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 919763947C34 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=148.163.156.1 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1717383730; cv=none; b=HSIoyZooxLze7wxn/NxQell8lVs3xtTSD8irUd19SkYvSb5yhih5/Cx683C1BjUSXv1VkgvWJuZ8/YV+j3hWtwv6JSTTUeoOP+1nT89alJzv+rWDqRUOxRgEIiPSj3IbZu1aFPVqqCnH6oTumjH5owsDhwciMCaImre/z7AzNgk= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1717383730; c=relaxed/simple; bh=PGPWxCHr9WeHf6LJUk4byQJiib5lXce279rOm9bghyk=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=IBr/aNnDTUpYtdEvSc7kfZC26XCi3uSuAErj+l5XPbcBzFJmlDmIljKbw/bwewC4dOmlscpM+ZGUDXEYp13mxH80pxOxp380+7OO/mgXNi02ONflr5QK6PwPagAm6ET2dOPuGCZcrptzBmSTR4nbsCEcyMb0wWxJrcRVr5xfA/U= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from pps.filterd (m0353728.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 4532qVB8016914; Mon, 3 Jun 2024 03:02:04 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=cc : content-transfer-encoding : date : from : in-reply-to : message-id : mime-version : references : subject : to; s=pp1; bh=HFxewkGwB+Q44bWWnUZ0+J3PlEpoRBtwGfDVBxZQuno=; b=AtDUPVVizN+utwlXqCH+qeVZKxiN4tVqthd0tGMoa0ZEAYSn7x1+6WgOD7QWoYmGFluB FGkSI5CxxZHQLy1PrSYtCgjRB4apLckIOg3zxn4sLwXrbrLpMggeF5eebfH9RFb74zhs Dz7D171AlYAB/4F5M4qOzYqGu3813BSgsbRuqReLI6MLAjBhkGiZqSEwMHTcJblZyE2b EC9X0RNEoLqNEgvWgNh083ehOf4aRwxwx5f3+x8BdDZ62SbSfhBtVdxTiBnVw3NvonW6 gsk+tjnm9yMHepSET2TjrLVrJ5AsFL2ZK2HnZXhyIOspjndyFWpQQV3FFpkOxFId0FFj 4w== Received: from ppma23.wdc07v.mail.ibm.com (5d.69.3da9.ip4.static.sl-reverse.com [169.61.105.93]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3yh5e1g0kw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 03 Jun 2024 03:02:04 +0000 Received: from pps.filterd (ppma23.wdc07v.mail.ibm.com [127.0.0.1]) by ppma23.wdc07v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 4532xvtq026694; Mon, 3 Jun 2024 03:02:03 GMT Received: from smtprelay04.fra02v.mail.ibm.com ([9.218.2.228]) by ppma23.wdc07v.mail.ibm.com (PPS) with ESMTPS id 3ygffmn9rs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 03 Jun 2024 03:02:03 +0000 Received: from smtpav02.fra02v.mail.ibm.com (smtpav02.fra02v.mail.ibm.com [10.20.54.101]) by smtprelay04.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 45331xDP14025000 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 3 Jun 2024 03:02:01 GMT Received: from smtpav02.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id F0D7E2005A; Mon, 3 Jun 2024 03:01:58 +0000 (GMT) Received: from smtpav02.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 23E342004B; Mon, 3 Jun 2024 03:01:58 +0000 (GMT) Received: from trout.aus.stglabs.ibm.com (unknown [9.40.194.100]) by smtpav02.fra02v.mail.ibm.com (Postfix) with ESMTP; Mon, 3 Jun 2024 03:01:57 +0000 (GMT) From: Kewen Lin <linkw@linux.ibm.com> To: gcc-patches@gcc.gnu.org Cc: linkw@linux.ibm.com, jose.marchesi@oracle.com, david.faust@oracle.com Subject: [PATCH 12/52] bpf: Remove macros {FLOAT, DOUBLE, LONG_DOUBLE}_TYPE_SIZE Date: Sun, 2 Jun 2024 22:01:02 -0500 Message-ID: <4e69591bc749181ff41b90df47c00f18ef21dc01.1717134752.git.linkw@linux.ibm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <cover.1717134752.git.linkw@linux.ibm.com> References: <cover.1717134752.git.linkw@linux.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: sjd3Xa2MKLhWnp5AefGZY4_ceaUkThVR X-Proofpoint-ORIG-GUID: sjd3Xa2MKLhWnp5AefGZY4_ceaUkThVR X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.12.28.16 definitions=2024-06-02_15,2024-05-30_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=713 phishscore=0 lowpriorityscore=0 clxscore=1011 spamscore=0 mlxscore=0 malwarescore=0 bulkscore=0 priorityscore=1501 suspectscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2405010000 definitions=main-2406030025 X-Spam-Status: No, score=-12.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org |
Series |
Replace {FLOAT,{,LONG_}DOUBLE}_TYPE_SIZE with new hook
|
expand
|
Hi, Gentle ping: https://gcc.gnu.org/pipermail/gcc-patches/2024-June/653343.html BR, Kewen on 2024/6/3 11:01, Kewen Lin wrote: > This is to remove macros {FLOAT,{,LONG_}DOUBLE}_TYPE_SIZE > defines in bpf port. > > gcc/ChangeLog: > > * config/bpf/bpf.h (FLOAT_TYPE_SIZE): Remove. > (DOUBLE_TYPE_SIZE): Likewise. > (LONG_DOUBLE_TYPE_SIZE): Likewise. > --- > gcc/config/bpf/bpf.h | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/gcc/config/bpf/bpf.h b/gcc/config/bpf/bpf.h > index e163fbf688d..2298e5b05af 100644 > --- a/gcc/config/bpf/bpf.h > +++ b/gcc/config/bpf/bpf.h > @@ -90,9 +90,6 @@ > #define LONG_TYPE_SIZE 64 > #define LONG_LONG_TYPE_SIZE 64 > #define CHAR_TYPE_SIZE 8 > -#define FLOAT_TYPE_SIZE 32 > -#define DOUBLE_TYPE_SIZE 64 > -#define LONG_DOUBLE_TYPE_SIZE 64 > > #define INTPTR_TYPE "long int" > #define UINTPTR_TYPE "long unsigned int"
diff --git a/gcc/config/bpf/bpf.h b/gcc/config/bpf/bpf.h index e163fbf688d..2298e5b05af 100644 --- a/gcc/config/bpf/bpf.h +++ b/gcc/config/bpf/bpf.h @@ -90,9 +90,6 @@ #define LONG_TYPE_SIZE 64 #define LONG_LONG_TYPE_SIZE 64 #define CHAR_TYPE_SIZE 8 -#define FLOAT_TYPE_SIZE 32 -#define DOUBLE_TYPE_SIZE 64 -#define LONG_DOUBLE_TYPE_SIZE 64 #define INTPTR_TYPE "long int" #define UINTPTR_TYPE "long unsigned int"