From patchwork Fri Jun 7 11:42:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Liebler X-Patchwork-Id: 1945066 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256 header.s=pp1 header.b=Y+Q3PCnr; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.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 4VwfYM0VCkz20QJ for ; Fri, 7 Jun 2024 21:46:30 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 2A7A03A70386 for ; Fri, 7 Jun 2024 11:46:29 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by sourceware.org (Postfix) with ESMTPS id B56733A0D77B for ; Fri, 7 Jun 2024 11:46:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B56733A0D77B 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 B56733A0D77B Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=148.163.158.5 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1717760768; cv=none; b=ojBlphdRSNpiPl/gMQ69hkBTkg2ECpbNsozSvGUUyYU1hzhknwYd2/rSnePsZM65stcAtClvlEHdoajXcQ0ACFdK/MBsw7S5ByXumUo+0atT78VIDLvUPfc1FBTDuZtKuR6ULDeALZ8t0GXR7e5MpWxmAXs3MbeF8259KDJbv8w= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1717760768; c=relaxed/simple; bh=+LAma6rMwSVs4ja7UAp5w7KD6gG0vtrRlOsb3CzlBU8=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=Q9mvTa+YG6ZqcggYI3VIiILq9IR+CDhfMXtlOyzwTloMtglwpL+0N/cB/v9El6DFJHXU2ESKHNxQ8sAQeUxxAHpFN5rxScrv4fvpohi0bsJOMHDjrvoaJ6FulJkDSwZ5917sNvdscbKoo5IrPGBCTC1IvTvXDRHm2x+X+e9PSe4= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from pps.filterd (m0353722.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 457Bk4l2019086; Fri, 7 Jun 2024 11:46: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=0pnZ+pcXM2yNBUgrcBB9yqZYm8Tv7ut2vGpBAt5G9BY=; b=Y+Q3PCnrQXIe5us2ZeiqzaV1YdXu1sK+0uUMytjHV2YbWwhdSU/n7n2Y/ku8T7lsieQU bDFx0mufJgKDlZW7Qf/LkBbrK6WFuJUttfthzo9ln4H9hpBOr4Gsg31PornC0+cIwDxQ K04dMd4p5eYJ3CCt0FLdjsTGG/U+1ELtuLCptUSuH/MRKZGfJ8OMwRt+uxQyLWKb9S5C zMZ7qJP4vr0ub8ia3ESn2cNk7ZHrn9GfY2yja30WbGWAHlcOqce/OSic/F6ScU98lo60 AG5Gh73mgA4o4BzBg7tH6UYF29jvPiMhcb67NPBad5ZLpp5jRTC6O1Rs0HGQTe6togb/ kg== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3ym1gj007y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 07 Jun 2024 11:46:04 +0000 Received: from m0353722.ppops.net (m0353722.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 457BjkPv018607; Fri, 7 Jun 2024 11:46:04 GMT Received: from ppma21.wdc07v.mail.ibm.com (5b.69.3da9.ip4.static.sl-reverse.com [169.61.105.91]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3ym1gj007w-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 07 Jun 2024 11:46:03 +0000 Received: from pps.filterd (ppma21.wdc07v.mail.ibm.com [127.0.0.1]) by ppma21.wdc07v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 4578vDBF031142; Fri, 7 Jun 2024 11:46:03 GMT Received: from smtprelay07.fra02v.mail.ibm.com ([9.218.2.229]) by ppma21.wdc07v.mail.ibm.com (PPS) with ESMTPS id 3ygeyq0dwf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 07 Jun 2024 11:46:03 +0000 Received: from smtpav07.fra02v.mail.ibm.com (smtpav07.fra02v.mail.ibm.com [10.20.54.106]) by smtprelay07.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 457BjuGY50201046 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 7 Jun 2024 11:45:59 GMT Received: from smtpav07.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id DC0892006E; Fri, 7 Jun 2024 11:45:56 +0000 (GMT) Received: from smtpav07.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id AE9422006C; Fri, 7 Jun 2024 11:45:56 +0000 (GMT) Received: from a35lp69.lnxne.boe (unknown [9.152.108.100]) by smtpav07.fra02v.mail.ibm.com (Postfix) with ESMTP; Fri, 7 Jun 2024 11:45:56 +0000 (GMT) From: Stefan Liebler To: libc-alpha@sourceware.org Cc: fweimer@redhat.com, devel@otheo.eu, adhemerval.zanella@linaro.org, bergner@linux.ibm.com, Stefan Liebler Subject: [RFC 1/9] x86: Remove HWCAP_START and HWCAP_COUNT Date: Fri, 7 Jun 2024 13:42:36 +0200 Message-ID: <20240607114543.659306-2-stli@linux.ibm.com> X-Mailer: git-send-email 2.45.0 In-Reply-To: <20240607114543.659306-1-stli@linux.ibm.com> References: <20240607114543.659306-1-stli@linux.ibm.com> MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-GUID: 2l7wfbxYoUFOcQaqPwCXQoADcq-8wC_S X-Proofpoint-ORIG-GUID: aH9JzMJld6kOsRCdSznQYbNQhAZXKsFe X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-06-07_06,2024-06-06_02,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 clxscore=1011 mlxlogscore=557 spamscore=0 bulkscore=0 phishscore=0 priorityscore=1501 impostorscore=0 lowpriorityscore=0 mlxscore=0 adultscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2405010000 definitions=main-2406070085 X-Spam-Status: No, score=-10.6 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: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org Both defines are not used anymore. Those were only used for _dl_string_hwcap(), which itself was removed with commit ab40f20364f4a417a63dd51fdd943742070bfe96 "elf: Remove _dl_string_hwcap" Just clean up. Reviewed-by: Adhemerval Zanella --- sysdeps/x86/dl-hwcap.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/sysdeps/x86/dl-hwcap.h b/sysdeps/x86/dl-hwcap.h index 21dd24d5d2..e14e755bd7 100644 --- a/sysdeps/x86/dl-hwcap.h +++ b/sysdeps/x86/dl-hwcap.h @@ -23,23 +23,17 @@ to cover all platforms and hardware capabilities. */ # define HWCAP_PLATFORMS_START 0 # define HWCAP_PLATFORMS_COUNT 4 -# define HWCAP_START 0 -# define HWCAP_COUNT 3 # define HWCAP_IMPORTANT \ (HWCAP_X86_SSE2 | HWCAP_X86_64 | HWCAP_X86_AVX512_1) #elif defined __x86_64__ /* For 64 bit, only cover x86-64 platforms and capabilities. */ # define HWCAP_PLATFORMS_START 2 # define HWCAP_PLATFORMS_COUNT 4 -# define HWCAP_START 1 -# define HWCAP_COUNT 3 # define HWCAP_IMPORTANT (HWCAP_X86_64 | HWCAP_X86_AVX512_1) #else /* For 32 bit, only cover i586, i686 and SSE2. */ # define HWCAP_PLATFORMS_START 0 # define HWCAP_PLATFORMS_COUNT 2 -# define HWCAP_START 0 -# define HWCAP_COUNT 1 # define HWCAP_IMPORTANT (HWCAP_X86_SSE2) #endif