From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 94863 invoked by alias); 5 Jun 2018 08:57:04 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 94547 invoked by uid 89); 5 Jun 2018 08:56:46 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-23.9 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS,URIBL_RED autolearn=ham version=3.3.2 spammy= X-HELO: EUR01-HE1-obe.outbound.protection.outlook.com Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Szabolcs.Nagy@arm.com; Cc: nd@arm.com Subject: Re: Add AArch64 hwcap values from Linux 4.17 To: Joseph Myers , libc-alpha@sourceware.org References: From: Szabolcs Nagy Message-ID: <56fee549-46d7-cef4-1139-3b97bb4c727f@arm.com> Date: Tue, 05 Jun 2018 08:57:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO2P265CA0226.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:b::22) To AM6PR08MB3285.eurprd08.prod.outlook.com (2603:10a6:209:47::26) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-TrafficTypeDiagnostic: AM6PR08MB3285: NoDisclaimer: True X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Forefront-PRVS: 0694C54398 Received-SPF: None (protection.outlook.com: arm.com does not designate permitted sender hosts) SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Office365-Filtering-Correlation-Id: dbaa3ad8-814e-4755-b84b-08d5cac24185 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jun 2018 08:56:41.2850 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: dbaa3ad8-814e-4755-b84b-08d5cac24185 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB3285 X-SW-Source: 2018-06/txt/msg00059.txt.bz2 On 04/06/18 21:56, Joseph Myers wrote: > Linux 4.17 adds four new AArch64 hwcap values. This patch adds them > to glibc's AArch64 bits/hwcap.h. > dl-procinfo.c needs to be updated too. i think it's better if that's in the same commit. (i should probably add a comment in hwcap.h about this) > Tested with build-many-glibcs.py for aarch64. > > 2018-06-04 Joseph Myers > > * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New > macro. > (HWCAP_USCAT): Likewise. > (HWCAP_ILRCPC): Likewise. > (HWCAP_FLAGM): Likewise. > > diff --git a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h > index 6f05ec1..0837913 100644 > --- a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h > +++ b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h > @@ -45,3 +45,7 @@ > #define HWCAP_SHA512 (1 << 21) > #define HWCAP_SVE (1 << 22) > #define HWCAP_ASIMDFHM (1 << 23) > +#define HWCAP_DIT (1 << 24) > +#define HWCAP_USCAT (1 << 25) > +#define HWCAP_ILRCPC (1 << 26) > +#define HWCAP_FLAGM (1 << 27) >