From patchwork Wed Apr 1 09:29:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Szabolcs Nagy X-Patchwork-Id: 38696 Return-Path: X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60078.outbound.protection.outlook.com [40.107.6.78]) by sourceware.org (Postfix) with ESMTPS id 8C239385DC01 for ; Wed, 1 Apr 2020 09:29:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 8C239385DC01 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=Szabolcs.Nagy@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=xfDA2YTqrzJz07xdR6lDd9AQk5gaD8sdyhC09J0ZcRg=; b=osohxzX58sRtemyH9cXJEnMoWZDxGL19zbWY5dyC8H7Ed+3m29QXwrgxPkMHkESZ4ZeBCAzpafUlFWfWeulrKGWIycNY0ftq8VwG1Mb4v+LyjYGXVFEWqmKMsOcbn9t90o5G6MtmVb5+0+p1HAYcj15JR8K4BKSbhvbEHuTy3g0= Received: from DB7PR05CA0014.eurprd05.prod.outlook.com (2603:10a6:10:36::27) by AM5PR0801MB1906.eurprd08.prod.outlook.com (2603:10a6:203:48::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2856.20; Wed, 1 Apr 2020 09:29:50 +0000 Received: from DB5EUR03FT035.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:36:cafe::2c) by DB7PR05CA0014.outlook.office365.com (2603:10a6:10:36::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2856.20 via Frontend Transport; Wed, 1 Apr 2020 09:29:50 +0000 Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; sourceware.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; sourceware.org; dmarc=bestguesspass 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; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT035.mail.protection.outlook.com (10.152.20.65) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2856.17 via Frontend Transport; Wed, 1 Apr 2020 09:29:50 +0000 Received: ("Tessian outbound e2c88df8bbbe:v50"); Wed, 01 Apr 2020 09:29:49 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: b4da1cd25518621e X-CR-MTA-TID: 64aa7808 Received: from 9712257bdaa8.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 744816EC-A8BB-4B4E-9A27-08122D1ADEB5.1; Wed, 01 Apr 2020 09:29:44 +0000 Received: from EUR03-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 9712257bdaa8.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 01 Apr 2020 09:29:44 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JUe3nFDLOzG9PxL1rSYy7LStyirSj0pZygvFV1eislVr1Js4Ye269uRp+1MaoTgw1FDn1uOAonaU+sHeoBHDNZtLp7Nal+oy9LWDn84M31xKWb+x+YRhKANRYslLYh0hHF+TipGhaBKiWbB4tJv9g37zREWnjFjMnhhUxV2FEBL1jqi4y5qur4yefhgJmllaBDTDaIKZTB8y/FMLc8H64wj9Wos6QFSJTTEJFhM7Hm835R5jY/25scmYxaOECHt61ontaIdtGBmasaetvPr1ccxkHVLPyOGxNDU+0V21kksDB89EHmMZ8rb28uKnnjIuU1ZeKdLb2z0lhoBO4H4wAg== 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-SenderADCheck; bh=xfDA2YTqrzJz07xdR6lDd9AQk5gaD8sdyhC09J0ZcRg=; b=lKvobEUH7+yR4zztU/02hY0BKLDPnCCxJDQj9qI+IAqhpJx2AqKkeKwVP5pFDySU57E466iIj2OLOAGKQe9muvq1Lh0Qsl0zF8CJTxIkdGMLIuODXtWeAYoi8B7DRbF6n+NDQ1lONa8bNFLu03/HFIdeOFI1Gam241xB2WcbEeT8JrFh/318osbdGq2B47LC2Yr7HsgBMeLxat0LsCr7YtepIs37Qy40LjF+mEKzZWWSQpbecXDLNiEml5TJkR9wajfqpDuh3f3EWZtX+E2416H6fUJzT4lnz8RStXasXW2HHz6jBT4n8K/dnqOeRElqGqCiyCGPMiG4nwNsN2sbKA== 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=xfDA2YTqrzJz07xdR6lDd9AQk5gaD8sdyhC09J0ZcRg=; b=osohxzX58sRtemyH9cXJEnMoWZDxGL19zbWY5dyC8H7Ed+3m29QXwrgxPkMHkESZ4ZeBCAzpafUlFWfWeulrKGWIycNY0ftq8VwG1Mb4v+LyjYGXVFEWqmKMsOcbn9t90o5G6MtmVb5+0+p1HAYcj15JR8K4BKSbhvbEHuTy3g0= Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Szabolcs.Nagy@arm.com; Received: from AM6PR08MB3047.eurprd08.prod.outlook.com (52.135.167.23) by AM6PR08MB5080.eurprd08.prod.outlook.com (10.255.120.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2856.19; Wed, 1 Apr 2020 09:29:43 +0000 Received: from AM6PR08MB3047.eurprd08.prod.outlook.com ([fe80::8937:3724:2930:ee81]) by AM6PR08MB3047.eurprd08.prod.outlook.com ([fe80::8937:3724:2930:ee81%3]) with mapi id 15.20.2856.019; Wed, 1 Apr 2020 09:29:43 +0000 Date: Wed, 1 Apr 2020 10:29:41 +0100 From: Szabolcs Nagy To: libc-alpha@sourceware.org Subject: [PATCH] aarch64: update bits/hwcap.h Message-ID: <20200401092940.GN27072@arm.com> Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) X-ClientProxiedBy: LNXP265CA0063.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5d::27) To AM6PR08MB3047.eurprd08.prod.outlook.com (2603:10a6:209:4c::23) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from arm.com (217.140.106.55) by LNXP265CA0063.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5d::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2878.15 via Frontend Transport; Wed, 1 Apr 2020 09:29:42 +0000 X-Originating-IP: [217.140.106.55] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: b30b3a56-ac1c-4ace-d69e-08d7d61f3a06 X-MS-TrafficTypeDiagnostic: AM6PR08MB5080:|AM5PR0801MB1906: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:418;OLM:418; X-Forefront-PRVS: 03607C04F0 X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM6PR08MB3047.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10009020)(4636009)(39860400002)(376002)(366004)(396003)(136003)(346002)(8886007)(55016002)(33964004)(956004)(5660300002)(478600001)(564344004)(6916009)(33656002)(316002)(8676002)(66556008)(44832011)(66476007)(66616009)(86362001)(81156014)(66946007)(8936002)(2906002)(36756003)(81166006)(186003)(7696005)(16526019)(44144004)(2616005)(1076003)(15650500001)(52116002)(26005)(235185007)(2700100001); DIR:OUT; SFP:1101; Received-SPF: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: Mls0qUgDQNf6sDqE8+MGOH962gWYuMLxL+qDwGQvTz/F6/BYodVEzGyah3TTgYqckEvC8CzuG2ZB9amB11A+G3PWNcskPrtNcDyv7DaDz+7vCu+FDnh5QpHzgMNXj8RArhSARzcIUXpPfv7do/uR6PV6h2yLUaAE5Y46MvDwCwNdXovqKJg4th4EJEkdgfr78v3Hk0Ih8hLFwr74kL8fn837Q+O3gZU81Og1qrbFduFSUe0crjwP9XZ37ZwSKLaE/ODtOs+5a2lKAzTRHr6prAFcy6rffeY7kkI/kIFlvqhoiAzygQJDTZVC9KNrAuY2pst9Yo3wJn6hQwvdl7M6ATpbW3soWbvLEvHFpfrkWKBaD8AAX+21EAhjnRx9TKHgJ9LQXDtNRVND1cPW64cRjQVDK2TWl3Vm8m7kmlGUha71P4Un8avUHsgFMU3rJkGiTLX74XMeFdKDsL1q+rNkmvi9vf7J4ADsUrwq7ySxpdrJDOAz2DhcgjvdWh0uWhrO X-MS-Exchange-AntiSpam-MessageData: qRe8cAUFXu/3mqYqC2U9a5O3uIMhqSB9mjBAzyzzvjYB/SaKLcImG3tlaX819RtaH7drUHVSlb0HtTywQoynddP0p15PQpxJGJ/cN8dzvo3sTCLNLUA5QEmeYjOnOJiVhTpL6+KXd2WxywLEJALCaA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB5080 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Szabolcs.Nagy@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT035.eop-EUR03.prod.protection.outlook.com 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; SFTY:; SFS:(10009020)(4636009)(396003)(39860400002)(346002)(376002)(136003)(46966005)(47076004)(8886007)(956004)(7696005)(564344004)(86362001)(2616005)(82740400003)(26005)(2906002)(36756003)(478600001)(81156014)(8936002)(33964004)(235185007)(66616009)(55016002)(70206006)(336012)(186003)(16526019)(70586007)(26826003)(44832011)(6916009)(81166006)(316002)(33656002)(5660300002)(44144004)(1076003)(8676002)(15650500001)(356004)(2700100001); DIR:OUT; SFP:1101; X-MS-Office365-Filtering-Correlation-Id-Prvs: 8e16f87f-cf0f-4102-12c4-08d7d61f35c1 X-Forefront-PRVS: 03607C04F0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: vBTX/Yd2XZsQQhZZVtX0Z6EAEWXIPnGSJyBQNEZxSHrPSyeLpjLn6pD7yF0+tdbRWQDFCNJuH70NTdkQHueAXead9MXkkkNaRrqwe83raCRQHsi9mStzFY6KsH2ObmMXPNFoVI2Yw5s70DFOl7NIhrhPq7duQJp7YI5paSgaDY7FhrfM2ElfHpQTotzobrwoDJNohGsMVOMmewvc+ZwLJzZJfjivSvJo7QZmA2zm4pDgQJ9YHIN5D7Enpv9XqKHF2HsUyq9T3s0CYjnZwDUJhOl667vgTCI6Fv7BxZ3bnvcG5kN6Hn7hsrhqml2kg5WTRC4GYzlE3gLzqtpvAYw7PDUhueDQfZIxB1+k3xdd8KH10tqpiHdzrADKyVSdnF75m6Bndpl5WEqEZT4HwMf0f9cqUD3eT9ffYZjRvUShO5tEkGacCHcHRq/HEsxuGK94u8hdjklpgVpIyv44vJzu3zcz8xoH1QS35HF9UHP5RY5kK+23hqa8B03FwODXqmiFCJbYMGED2NtLJ2XjpsJktFMyBBlRpjcr1tbQoG6DSSY= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Apr 2020 09:29:50.1531 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b30b3a56-ac1c-4ace-d69e-08d7d61f3a06 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-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0801MB1906 X-Spam-Status: No, score=-29.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, MSGID_FROM_MTA_HEADER, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS, TXREP, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Apr 2020 09:29:53 -0000 Linux 5.6 was released so update hwcaps. I plan to commit this tomorrow unless there are comments. >From 6110d7b7496bacb97aee02b063ce7d71bd028cc0 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Tue, 17 Mar 2020 15:53:34 +0000 Subject: [PATCH] aarch64: update bits/hwcap.h Up to date with Linux 5.6. dl-procinfo.c is not updated because HWCAP2 bits are not handled specially in glibc. --- sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h index f52840c2c4..4ee14b4208 100644 --- a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h +++ b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h @@ -54,3 +54,21 @@ #define HWCAP_SB (1 << 29) #define HWCAP_PACA (1 << 30) #define HWCAP_PACG (1UL << 31) + +#define HWCAP2_DCPODP (1 << 0) +#define HWCAP2_SVE2 (1 << 1) +#define HWCAP2_SVEAES (1 << 2) +#define HWCAP2_SVEPMULL (1 << 3) +#define HWCAP2_SVEBITPERM (1 << 4) +#define HWCAP2_SVESHA3 (1 << 5) +#define HWCAP2_SVESM4 (1 << 6) +#define HWCAP2_FLAGM2 (1 << 7) +#define HWCAP2_FRINT (1 << 8) +#define HWCAP2_SVEI8MM (1 << 9) +#define HWCAP2_SVEF32MM (1 << 10) +#define HWCAP2_SVEF64MM (1 << 11) +#define HWCAP2_SVEBF16 (1 << 12) +#define HWCAP2_I8MM (1 << 13) +#define HWCAP2_BF16 (1 << 14) +#define HWCAP2_DGH (1 << 15) +#define HWCAP2_RNG (1 << 16) -- 2.17.1