Message ID | PAWPR08MB898273C545B67C78EFC401E0833E2@PAWPR08MB8982.eurprd08.prod.outlook.com |
---|---|
State | Committed |
Commit | 8f9e92eec3230d2f1305d414984e89aaebdfe0c6 |
Headers |
Return-Path: <gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id DD626385840A for <patchwork@sourceware.org>; Tue, 2 Apr 2024 12:22:40 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2054.outbound.protection.outlook.com [40.107.21.54]) by sourceware.org (Postfix) with ESMTPS id 65B9C3858CDA for <gcc-patches@gcc.gnu.org>; Tue, 2 Apr 2024 12:22:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 65B9C3858CDA Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=arm.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 65B9C3858CDA Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=40.107.21.54 ARC-Seal: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1712060524; cv=pass; b=IKpBZ3DIzjHbioyi8EJHE2bKoZg4vUvuyjsmhL56zFQ/jy3BGjODzxawGWiOWf1FtbkCDRMBzb/umNqK2NL1oNmOLGtmaPqz543cxsabGVC0Nv4obIX2B48BpE54vvC10VeeGrC0jtFoJ6UyuCGn7kE2Jm9IkMkjxUCfhfT0qyk= ARC-Message-Signature: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1712060524; c=relaxed/simple; bh=LXP5QxLZjYzFhAlpuWxMHscsERbZoKcUAigFvpq4mOc=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-ID: MIME-Version; b=VlZkbH3IYuvDpqrsQOmCMQzrgk3TJT+js8dzRQOblkqQG4JSGSLrf9ofBdkw9tixzz9PIJdRUgbMqdLnPz4k77kqWEdN50nc1l7/OmTIwRlib2716VLOp8SSuUp65P85+dg1024NVErIqQ0TTEJu5Af+h0TTTzzDD0s1Q5zpJt8= ARC-Authentication-Results: i=3; server2.sourceware.org ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=C/lPZJEmmnwL9D/LTDD/pQgS+u+jUg4isaPakUq/x10wmlUfg4MVutqitXFrMYVWRJnebnVr/eKzQAw7WbZSJL1dAnZuktGyO9Z1QFjw9haAfUqj+Md5lIDZP4ojl+t1cqvPq2AL04XDcmyVJPd/9YshnzqbV8CDB9OrgvDkO3X+nd8rlLepCeBDVoM7BXnWQLT00Gf+Vvtu7Ghd6v5q00TfdHnZX+sgq6Hz+B/oUnrqEgf04TgTRqGqkgquKDcN95qOYsFfxGNbh02eq/5DYGiPOJotd5rGtyov1WfqLslxQebCrEF9ztm4ap3KCpMzElZmAms3T+vuCoYfaOVUoQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=JE6RZND7HeN9uirKOZ+NQ3dHRGa+b3s52Md8z0gKpDQ=; b=n8NvZSGE/WadcOr1nC5nu4IOxUEuUiW0rJ0XxXXw9RLOLXTZiUssewZVGvb04osL8gHs2CB7Hrs0eUTW5vG3Y3xSZ9vxTeWY6OStFUm2C6P1Nm8blyHSw7TdDLXZsIM4fN5YYF9OgjmF2BOiPzJwI3AF0Pn5oimKyaUSdQiqsEtqdqk6XZU9cEtnCrlXqKytTg8tH3g4Ln45R1KezZr8kKqsyqPx/rk4sX9O5JN88cOH+pKZaP98WA/89Lu1JBmGK8HINfbp2lKwu/yqjA1DQl1CiR34Dmch5rMBLRWEOkbJ0xLNBf54rQ+2FhgS19wziTNamSmWAjBH1oUTk3tl0Q== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=gcc.gnu.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com]) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JE6RZND7HeN9uirKOZ+NQ3dHRGa+b3s52Md8z0gKpDQ=; b=Bh2/cDiceZq726NApJRmEfCpnsRELNzo3bQyim5VO3Lx4hoG0wiNR+PMrzZXw7AVxjGjxL1tXDcBelEMPbAavk9tIuR/IQq5XrBdvqJ42zwD07w1SWKlsvwXCov/PESt8OQJnAYr2pwPKyYdY8PGjnJ7vD+MiBBYFmGT1An5M2A= Received: from AS4P251CA0025.EURP251.PROD.OUTLOOK.COM (2603:10a6:20b:5d3::12) by DB3PR08MB10336.eurprd08.prod.outlook.com (2603:10a6:10:43b::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.46; Tue, 2 Apr 2024 12:21:58 +0000 Received: from AM3PEPF0000A796.eurprd04.prod.outlook.com (2603:10a6:20b:5d3:cafe::e6) by AS4P251CA0025.outlook.office365.com (2603:10a6:20b:5d3::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.13 via Frontend Transport; Tue, 2 Apr 2024 12:21:58 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM3PEPF0000A796.mail.protection.outlook.com (10.167.16.101) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.7452.22 via Frontend Transport; Tue, 2 Apr 2024 12:21:58 +0000 Received: ("Tessian outbound 5ad6c4395be7:v300"); Tue, 02 Apr 2024 12:21:58 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: b13fb3027b5200a9 X-CR-MTA-TID: 64aa7808 Received: from 40ad4f89c322.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 1DFD6A0E-6E5D-492C-8AE5-0075BC5B9D74.1; Tue, 02 Apr 2024 12:21:51 +0000 Received: from EUR05-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 40ad4f89c322.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 02 Apr 2024 12:21:51 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jh3wDRp7GoFXdtFJ6ctJ+Dqetxx6fxTByox+B08A8u13qE47FbbtG/baBZDU7H3gfGeglf8WeZegbwJL94/KgF4hOMB0Mx/6T9LeP5B3IQ5r3Nt1hqGMjZi7lbsorG9s2U4LIbpoQAxD3dU4OM0ex1IFQawJkLaZVEbVqlqK4IXPLE4nRsZQlCzF9+i4IDCkSMB1UhuDUveAq86Si1pLGt6yFUvLtCJGpEDSA5Bn8BTD6K43SaVNcAL5UrhJll908DZhUhXO7ox3VTkDM+j9FQNNauVtD8HFylqqS+llcuksrg0s0cvzRj+D/Rzr5E67ueCVqGmAmxpxJbFYdPvI4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=JE6RZND7HeN9uirKOZ+NQ3dHRGa+b3s52Md8z0gKpDQ=; b=hi/zcXaHLqBRk6K8piQgOurvmym4HAre+LB/v2XK1XF7xv4QtutgSG/LONLqwTybLfNpfPrgf8zmpMDlLzdp/wfAXtmdIcN7OUxvUbTZZm00oBtV1tWg+r3xWEoiAN7w8I8ddLci4lHQdjuJCTKWSg+zS21MTD4riw7iqY3O0KKNMCYPob8mD0SJkE9Qmqxl3zDrTahV6Dbci2XiR+8YmssDbYNQA6v87xKAxGyAzpar4qhDZMw87G+nBOY6dd80CY9IxNdH3KY8WbH7sUe9IcpJqYySIqKlozm9TrbGDzJ7dUh0WKiAdwrZUWi+wH6ez3jmgrHi1q9lnbMPcUdZ+w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JE6RZND7HeN9uirKOZ+NQ3dHRGa+b3s52Md8z0gKpDQ=; b=Bh2/cDiceZq726NApJRmEfCpnsRELNzo3bQyim5VO3Lx4hoG0wiNR+PMrzZXw7AVxjGjxL1tXDcBelEMPbAavk9tIuR/IQq5XrBdvqJ42zwD07w1SWKlsvwXCov/PESt8OQJnAYr2pwPKyYdY8PGjnJ7vD+MiBBYFmGT1An5M2A= Received: from PAWPR08MB8982.eurprd08.prod.outlook.com (2603:10a6:102:33f::20) by PA6PR08MB10860.eurprd08.prod.outlook.com (2603:10a6:102:3d9::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.46; Tue, 2 Apr 2024 12:21:49 +0000 Received: from PAWPR08MB8982.eurprd08.prod.outlook.com ([fe80::8b1b:5f28:5006:ac18]) by PAWPR08MB8982.eurprd08.prod.outlook.com ([fe80::8b1b:5f28:5006:ac18%4]) with mapi id 15.20.7409.042; Tue, 2 Apr 2024 12:21:49 +0000 From: Wilco Dijkstra <Wilco.Dijkstra@arm.com> To: GCC Patches <gcc-patches@gcc.gnu.org> CC: Kyrylo Tkachov <Kyrylo.Tkachov@arm.com>, Richard Sandiford <Richard.Sandiford@arm.com>, Richard Earnshaw <Richard.Earnshaw@arm.com> Subject: [PATCH] libgcc: Add missing HWCAP entries to aarch64/cpuinfo.c Thread-Topic: [PATCH] libgcc: Add missing HWCAP entries to aarch64/cpuinfo.c Thread-Index: AQHahPfP2NHty2nN/UmElrE8Mvl7/g== Date: Tue, 2 Apr 2024 12:21:49 +0000 Message-ID: <PAWPR08MB898273C545B67C78EFC401E0833E2@PAWPR08MB8982.eurprd08.prod.outlook.com> Accept-Language: en-GB, en-US Content-Language: en-GB X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: x-ms-traffictypediagnostic: PAWPR08MB8982:EE_|PA6PR08MB10860:EE_|AM3PEPF0000A796:EE_|DB3PR08MB10336:EE_ x-checkrecipientrouted: true nodisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: Lmm0teN3K6dcoLOWVHZ+rQNPaAXDgUIAuAjBaI6Vnw6BkNWUn2OEJxDyST5JGSSUbKlaiJMccoWyLsbbaBshkijpBfRIpXj/T6miX7DjePtC4ssEfrG+iXLd2GYF9r9zY1xHGa+qJkyL3deq+EmtrrrrU2skL+glks+uTXKgwU+TGyppkf2UByo5bNN42pVVwAGd6GiVS/bJEtV88CAhRmGAbdFBXSNdpqszPEnUZ9ruhiuORgueRirIDz2d+rHg/I3Y21R8VsXoECrIQAGNyyopA6SIxnlggKj3M5SMGgKoUoT5zU2vHrzelBWO9S5oTFSVObmOSjm06r2YxpQs+qj1v07/F8p9JyPWV8S5taqrmod+Oq2v5t7geFRE9tdXVZ80H4NaJYKxLqSN0VYRB/P9Nf7n1jf9ts0NhvLHN8fQ6NIvVbXq3zcl3VbH3TketR4OjtJVXJSzdCe7bRrDEnQcvOjdmtqT8GTRUaDb9KXJQqssvMed9MvlPRY/b/bpmk0rK4SVUmHAXG+TJAQUyj4PXw3vC9niU26ydUZnibosj9tHgpmfjXzhnCD5BzDdtZLoTTgUfUsAXoxdhLhGjD3Z48Toj9G29H9OGeV1Bf/EEu10fqJH85jG98bd9zUaksaf7EKeEJIsevSPHEO75l1AM/xe4qPACQlw6xbJxng= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PAWPR08MB8982.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(376005)(1800799015)(366007); DIR:OUT; SFP:1102; Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA6PR08MB10860 X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM3PEPF0000A796.eurprd04.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b635e6c7-840e-4be0-29db-08dc530f7e38 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ZPiqj4CbLPEyTBAj87dFibBZhTdgkmpXhfglDMCbr4mG44DNI+t+bDY3D+BFJc0jN9IPOFin+AchjsqObq6lf0mu7tWmOp/HYRZL9SvKaWpIDHnninDA1gfTV3OShXH+OHTkeyW6TsNT0zjvgR4diNdx+sBrHTKdtZF8YW2nn5PutUQ5ZSzTJcKtj26a+KKQOPVCKmuCOVDFZZzavCMj/REywzCie7nUVfETo7T+yKzsBaDHW1MkYR3l2yln3ovzfrS5IDoKhz3+gmRpusAzElItc3nahxroY2Tyt4j0g027OHDROGGpRGJ061k3RRr24wy86zRJa9X+jxppk39zFApvw08ivQw/TKG6g3XlCifX2bo8blDrSu9WmpFjZB9oHnEO5sB5O2T1F7+hbypXpz7bF7UievZPWLKWEVezpof0r7Vt2jHFY7uSFSmXvfoCpYcx7ywwdD/VM2LcU9FxyRBeagOD3lzFB/L1TCC63FnuPkCxOTknWQy8GoGenWOxF/5bmU5AFiVKMNfGvGF/4W8+0hMakUnGF0PEF8FFVNj2vnFp6b+ToSRKJxbaeV4XuIlmf8JfG9F4HHs/IbgBI+N61GJ8xnMzw6i7HpmZDqNNZ2KZ62OPv94dFIUu57R7+2E9JL+cgHqw6BFcmLC7j1x5xqy9dmPp4Ybc8Ztx83DcJJGCs3T1TXUdedPSfPDIGKWiI1rLbW1K6uTOv/0ai1ao4rW7UNp8rUX+mjWlN/VuM2q7RQnNecZwU+UPUW5S X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(13230031)(1800799015)(82310400014)(376005)(36860700004); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Apr 2024 12:21:58.6523 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b635e6c7-840e-4be0-29db-08dc530f7e38 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: AM3PEPF0000A796.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR08MB10336 X-Spam-Status: No, score=-10.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, FORGED_SPF_HELO, GIT_PATCH_0, KAM_DMARC_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_NONE, TXREP, UNPARSEABLE_RELAY 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+patchwork=sourceware.org@gcc.gnu.org |
Series |
libgcc: Add missing HWCAP entries to aarch64/cpuinfo.c
|
|
Checks
Context | Check | Description |
---|---|---|
linaro-tcwg-bot/tcwg_gcc_build--master-arm | success | Testing passed |
linaro-tcwg-bot/tcwg_gcc_build--master-aarch64 | success | Testing passed |
linaro-tcwg-bot/tcwg_gcc_check--master-aarch64 | success | Testing passed |
linaro-tcwg-bot/tcwg_gcc_check--master-arm | success | Testing passed |
Commit Message
Wilco Dijkstra
April 2, 2024, 12:21 p.m. UTC
A few HWCAP entries are missing from aarch64/cpuinfo.c. This results in build errors on older machines. This counts a trivial build fix, but since it's late in stage 4 I'll let maintainers chip in. OK for commit? libgcc/ * config/aarch64/cpuinfo.c: Add HWCAP_EVTSTRM, HWCAP_CRC32, HWCAP_CPUID, HWCAP_PACA and HWCAP_PACG. ---
Comments
Wilco Dijkstra <Wilco.Dijkstra@arm.com> writes: > A few HWCAP entries are missing from aarch64/cpuinfo.c. This results in build errors > on older machines. > > This counts a trivial build fix, but since it's late in stage 4 I'll let maintainers chip in. > OK for commit? > > libgcc/ > * config/aarch64/cpuinfo.c: Add HWCAP_EVTSTRM, HWCAP_CRC32, HWCAP_CPUID, > HWCAP_PACA and HWCAP_PACG. OK, thanks. Richard > --- > > diff --git a/libgcc/config/aarch64/cpuinfo.c b/libgcc/config/aarch64/cpuinfo.c > index 3c6fb8a575b423c2aff71a1a9f40812b154ee284..4b94fca869507145ec690c825f637abbc82a3493 100644 > --- a/libgcc/config/aarch64/cpuinfo.c > +++ b/libgcc/config/aarch64/cpuinfo.c > @@ -52,15 +52,15 @@ struct { > #ifndef AT_HWCAP > #define AT_HWCAP 16 > #endif > -#ifndef HWCAP_CPUID > -#define HWCAP_CPUID (1 << 11) > -#endif > #ifndef HWCAP_FP > #define HWCAP_FP (1 << 0) > #endif > #ifndef HWCAP_ASIMD > #define HWCAP_ASIMD (1 << 1) > #endif > +#ifndef HWCAP_EVTSTRM > +#define HWCAP_EVTSTRM (1 << 2) > +#endif > #ifndef HWCAP_AES > #define HWCAP_AES (1 << 3) > #endif > @@ -73,6 +73,9 @@ struct { > #ifndef HWCAP_SHA2 > #define HWCAP_SHA2 (1 << 6) > #endif > +#ifndef HWCAP_CRC32 > +#define HWCAP_CRC32 (1 << 7) > +#endif > #ifndef HWCAP_ATOMICS > #define HWCAP_ATOMICS (1 << 8) > #endif > @@ -82,6 +85,9 @@ struct { > #ifndef HWCAP_ASIMDHP > #define HWCAP_ASIMDHP (1 << 10) > #endif > +#ifndef HWCAP_CPUID > +#define HWCAP_CPUID (1 << 11) > +#endif > #ifndef HWCAP_ASIMDRDM > #define HWCAP_ASIMDRDM (1 << 12) > #endif > @@ -133,6 +139,12 @@ struct { > #ifndef HWCAP_SB > #define HWCAP_SB (1 << 29) > #endif > +#ifndef HWCAP_PACA > +#define HWCAP_PACA (1 << 30) > +#endif > +#ifndef HWCAP_PACG > +#define HWCAP_PACG (1UL << 31) > +#endif > > #ifndef HWCAP2_DCPODP > #define HWCAP2_DCPODP (1 << 0)
diff --git a/libgcc/config/aarch64/cpuinfo.c b/libgcc/config/aarch64/cpuinfo.c index 3c6fb8a575b423c2aff71a1a9f40812b154ee284..4b94fca869507145ec690c825f637abbc82a3493 100644 --- a/libgcc/config/aarch64/cpuinfo.c +++ b/libgcc/config/aarch64/cpuinfo.c @@ -52,15 +52,15 @@ struct { #ifndef AT_HWCAP #define AT_HWCAP 16 #endif -#ifndef HWCAP_CPUID -#define HWCAP_CPUID (1 << 11) -#endif #ifndef HWCAP_FP #define HWCAP_FP (1 << 0) #endif #ifndef HWCAP_ASIMD #define HWCAP_ASIMD (1 << 1) #endif +#ifndef HWCAP_EVTSTRM +#define HWCAP_EVTSTRM (1 << 2) +#endif #ifndef HWCAP_AES #define HWCAP_AES (1 << 3) #endif @@ -73,6 +73,9 @@ struct { #ifndef HWCAP_SHA2 #define HWCAP_SHA2 (1 << 6) #endif +#ifndef HWCAP_CRC32 +#define HWCAP_CRC32 (1 << 7) +#endif #ifndef HWCAP_ATOMICS #define HWCAP_ATOMICS (1 << 8) #endif @@ -82,6 +85,9 @@ struct { #ifndef HWCAP_ASIMDHP #define HWCAP_ASIMDHP (1 << 10) #endif +#ifndef HWCAP_CPUID +#define HWCAP_CPUID (1 << 11) +#endif #ifndef HWCAP_ASIMDRDM #define HWCAP_ASIMDRDM (1 << 12) #endif @@ -133,6 +139,12 @@ struct { #ifndef HWCAP_SB #define HWCAP_SB (1 << 29) #endif +#ifndef HWCAP_PACA +#define HWCAP_PACA (1 << 30) +#endif +#ifndef HWCAP_PACG +#define HWCAP_PACG (1UL << 31) +#endif #ifndef HWCAP2_DCPODP #define HWCAP2_DCPODP (1 << 0)