From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7A2FDA04AF; Wed, 19 Aug 2020 04:26:52 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4E1C45B30; Wed, 19 Aug 2020 04:26:51 +0200 (CEST) Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2040.outbound.protection.outlook.com [40.107.21.40]) by dpdk.org (Postfix) with ESMTP id 6AD5958C4 for ; Wed, 19 Aug 2020 04:26:49 +0200 (CEST) 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=C98t8wt/knrP4MW06HrldXpHv7b9xiWCyyC8bzQ8pMk=; b=rrFAflGfAs6uREuvhF+NBFZBzQzpS3kd/r2LOpWwe4qivZkoYtDi47IBSLBxHcM2r1MRtRTZ/QkYkSQcfmpiH6aw3OS6lhHgNvm5c6LC5BppxOtF7Y8+1+HUcD3rrWgx0uzUnxvsgpxWLFNTuWLg9SE5LghNRAOBHiaV3aCrpRY= Received: from MR2P264CA0007.FRAP264.PROD.OUTLOOK.COM (2603:10a6:500:1::19) by DB7PR08MB3388.eurprd08.prod.outlook.com (2603:10a6:10:41::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3283.24; Wed, 19 Aug 2020 02:26:47 +0000 Received: from VE1EUR03FT042.eop-EUR03.prod.protection.outlook.com (2603:10a6:500:1:cafe::bd) by MR2P264CA0007.outlook.office365.com (2603:10a6:500:1::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3305.24 via Frontend Transport; Wed, 19 Aug 2020 02:26:46 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dpdk.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dpdk.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 VE1EUR03FT042.mail.protection.outlook.com (10.152.19.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3305.24 via Frontend Transport; Wed, 19 Aug 2020 02:26:46 +0000 Received: ("Tessian outbound 7a6fb63c1e64:v64"); Wed, 19 Aug 2020 02:26:46 +0000 X-CR-MTA-TID: 64aa7808 Received: from 32642a871bca.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 92861656-56EF-4473-910F-CD3E312AE157.1; Wed, 19 Aug 2020 02:26:41 +0000 Received: from EUR05-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 32642a871bca.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 19 Aug 2020 02:26:41 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=L/m+L5s/Uq1qIJHWD/NUkwYbXmQk6DwuR+2vamAem03Ep571VJAcc3d1rNb1hhcHaVEO77nriZ6wynQ5EzS5aoIRntn0oqh4P0gBE2HQBsmf7WGoF8u6AOTnvTRsqMt/n2JAwnwv/uobCkNrKWgCzwpqRhS+fnsbr7jh/HGRDY85xHUoIvxg3F9EUfrJmwPiGMscS6EGr31BKCBXTRVrOW/GLDYk7GboxVWNYhUGFTKPNTgjH/dcVCZQ0Y74FMOP5AXnq7Yf0VeuxY2JATkMoi2U9yDPiGVxZbcvSdFFXD+jprJjODLD+IirKh3R9ErxBDnBp/A9kyW1S1EQX1Jl7g== 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=C98t8wt/knrP4MW06HrldXpHv7b9xiWCyyC8bzQ8pMk=; b=mLq462Mu+bAIWHyvmSPoomHmPdDOSYt/mgDDclz7Vboy/5TG3MrKsbnyvAkMiBQGMOiVkhIQvar4chGl7oh7X85h7TLli2MZjSs3G8xzizXtpOJXFdHN43TN21Zw5YFjjEDs8oIX31KyDeA/a3eV12kSPz29XXQvt6l0rfLqhkPv89BAxCCNhporTuVsiYQ7RZ7oh9o3qbvQtdGDRoBlvCZAlL4MImfzqz0IS1F1/SNLe6PMZOt/qw9SRwhuI7JA4Xy3+sgaeVH7thn+TUVa6vDoGNRMV6jDaMYVRojfA7NV7N4NVYKE3yiUsBLJ3c0KGIUHNJ+7StCjTs5KFH2Jxg== 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=C98t8wt/knrP4MW06HrldXpHv7b9xiWCyyC8bzQ8pMk=; b=rrFAflGfAs6uREuvhF+NBFZBzQzpS3kd/r2LOpWwe4qivZkoYtDi47IBSLBxHcM2r1MRtRTZ/QkYkSQcfmpiH6aw3OS6lhHgNvm5c6LC5BppxOtF7Y8+1+HUcD3rrWgx0uzUnxvsgpxWLFNTuWLg9SE5LghNRAOBHiaV3aCrpRY= Received: from HE1PR0801MB2025.eurprd08.prod.outlook.com (2603:10a6:3:50::14) by HE1PR08MB2763.eurprd08.prod.outlook.com (2603:10a6:7:36::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3283.27; Wed, 19 Aug 2020 02:26:39 +0000 Received: from HE1PR0801MB2025.eurprd08.prod.outlook.com ([fe80::4029:c2b7:7e14:fb28]) by HE1PR0801MB2025.eurprd08.prod.outlook.com ([fe80::4029:c2b7:7e14:fb28%4]) with mapi id 15.20.3283.028; Wed, 19 Aug 2020 02:26:39 +0000 From: Ruifeng Wang To: "Wei Hu (Xavier)" , "dev@dpdk.org" CC: nd , Honnappa Nagarahalli , "jerinjacobk@gmail.com" , "xavier.huwei@huawei.com" , nd Thread-Topic: [PATCH v4 2/2] test/cpuflag: add new flags for ARM64 platform Thread-Index: AQHWdTbpqL7bO9d02ke0m6RNGozNxak+qzEw Date: Wed, 19 Aug 2020 02:26:38 +0000 Message-ID: References: <20200817124703.58157-1-huwei013@chinasoftinc.com> <20200818080904.5173-1-huwei013@chinasoftinc.com> <20200818080904.5173-3-huwei013@chinasoftinc.com> In-Reply-To: <20200818080904.5173-3-huwei013@chinasoftinc.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 1FFBA01535090247B4D13AD03E73AD86.0 x-checkrecipientchecked: true Authentication-Results-Original: chinasoftinc.com; dkim=none (message not signed) header.d=none;chinasoftinc.com; dmarc=none action=none header.from=arm.com; x-originating-ip: [203.126.0.111] x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: d557e344-e661-457d-d393-08d843e7521f x-ms-traffictypediagnostic: HE1PR08MB2763:|DB7PR08MB3388: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:4303;OLM:4303; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: g4foba10wOymgVZFmC9UCmK/XlQPont0GS2xjv6V73HRIP+B0LmLgi1F9bvZqYK5rI2+Q3S8MSrsWzJzvtsjktFcY5f82/LwfAz3f/EBkCXgFxDERDIfPFjphgDFh9+2SOD4/C+v0E9d77xDM6s/8LQcLGBSmyhdyZWemvYbJOez2uY6szWpAdvef3LGNujcQoE15WTCy741Z+G2VepqKaZxXvLW37prlIwkjZHZW9oZ0v9fmmNFu/OWtaLuaErF/mIj88AtMBitkrC1aITgWtOD04bUlYt5YPR1OLYHXaQoubyV+HTiDP0NQgzkz02B X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR0801MB2025.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(39860400002)(366004)(136003)(346002)(376002)(66476007)(316002)(5660300002)(186003)(54906003)(110136005)(71200400001)(478600001)(9686003)(26005)(52536014)(83380400001)(7696005)(33656002)(6506007)(8936002)(8676002)(76116006)(66946007)(4326008)(66446008)(53546011)(66556008)(2906002)(64756008)(86362001)(55016002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: ifgAAnU2/+scm8+stI1RkVlwE/wua5+U7tALJ0PcIvLbYpUbWspbM19t9bqrz+d7f35fatoDOCtRmu9gDsmzwgvQyEE+Eja1V5V/h4x8GpXzHDT/PNL/TZUHE5OpjBIODGn4diL2DwCZXEt7pe4VNNA0N4HAuxK0OVx58qN+RB3r1zMYhMvOtbqWaQGyOHKPOp9KspFSnLxCZLgnIBIhthpbMSKIuxH6iu3g6+m7RUc37z6tjldwdhBtICVVFrW9OKlX/fXeL7x6r0Xg3xpD3kV9N5v+sl1EZiB18KNKeKd4wIYpYOomByTcCEcPZu3XycKoyviMuSUFwYY/PeDHGmDBbBLLw+4cgqSK39QhFbtfaPeh70C6zi4FOdbqMCc3rcfhNT6pbZc7+get7Wg2YjdsoS9ttEDLVvMMfiNIznUH7cAu1I46arcGqxoNc/q6nJJQNifsiHy59CJ+SZ10g0HJyNFQ9KEW6unXdHREXp2tP85so4GVeZIBqqRJhSgh3IRi0OEA1nAknjzml+s8A32WFq/kyuChtHb27TEpFWPk/MzVJQ6+ZPkYF47v2x8OikNJdlwbx/MpzTNSGpGJgVuwgUCgAXLpp7pWOQmpTzfqXPXYQOzrM8UXL2++3jSQei2XuRf7na1E3LieFyRjkA== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR08MB2763 Original-Authentication-Results: chinasoftinc.com; dkim=none (message not signed) header.d=none;chinasoftinc.com; dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT042.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: d79b0ce3-1c51-4cd5-032d-08d843e74d9e X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7HM9iKvwidgSfvf5xSDmkm2Gfo/seftrzedHS+lXiGdq1GH2haX5iw8+xbXQ1B7yvEhuq9XmjVuz3VU+inJWxHlsvDeXqj+7rnvE01yY+dr2UP91uBvjnbzJ/cRr4NHon7F6OMyacUBJkKp9V8F06I0Zi98Z3iPyp3NKiRs24dMAtEvuFDGvZ5SQ8SYwt5Js7lAT85Wp36ASRKgIqiKh35tr3HlOHgFTEDNFovmu4Gie2bhN/nM+2ES/jt7Yiudze5pu1QRVHTem0oO9UEUhtJFblWGvQTqcH7UFKSuoBgkIpfRihKy5oMhhCUW11T/WtG200vCKUHObhg+9PUqqtvA0jA/V61sNR9K2DEdd+hRjsVWTQ/inPAqOwGCQzFDLWd798egq5FUdZk6h4dJ43A== 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:(4636009)(376002)(39850400004)(396003)(346002)(136003)(46966005)(83380400001)(5660300002)(82740400003)(81166007)(6506007)(356005)(53546011)(47076004)(186003)(26005)(82310400002)(7696005)(52536014)(4326008)(336012)(110136005)(316002)(8676002)(2906002)(8936002)(33656002)(9686003)(55016002)(70206006)(54906003)(86362001)(70586007)(36906005)(478600001); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Aug 2020 02:26:46.6149 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d557e344-e661-457d-d393-08d843e7521f 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: VE1EUR03FT042.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR08MB3388 Subject: Re: [dpdk-dev] [PATCH v4 2/2] test/cpuflag: add new flags for ARM64 platform X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: Wei Hu (Xavier) > Sent: Tuesday, August 18, 2020 4:09 PM > To: dev@dpdk.org > Cc: nd ; Honnappa Nagarahalli > ; Ruifeng Wang > ; jerinjacobk@gmail.com; > xavier.huwei@huawei.com > Subject: [PATCH v4 2/2] test/cpuflag: add new flags for ARM64 platform >=20 > From: "Wei Hu (Xavier)" >=20 > This patch adds new flags into the test_cpuflags() functions for ARM64 > platform, such as RTE_CPUFLAG_SVE, etc. >=20 > Signed-off-by: Wei Hu (Xavier) > --- > app/test/test_cpuflags.c | 39 > +++++++++++++++++++++++++++++++++++++++ > 1 file changed, 39 insertions(+) >=20 > diff --git a/app/test/test_cpuflags.c b/app/test/test_cpuflags.c index > 06718631f..845564410 100644 > --- a/app/test/test_cpuflags.c > +++ b/app/test/test_cpuflags.c > @@ -118,6 +118,45 @@ test_cpuflags(void) >=20 > printf("Check for ATOMICS:\t"); > CHECK_FOR_FLAG(RTE_CPUFLAG_ATOMICS); > + > + printf("Check for SVE:\t"); Nit. Use double '\t' for better alignment. > + CHECK_FOR_FLAG(RTE_CPUFLAG_SVE); > + > + printf("Check for SVE2:\t"); Ditto. With the suggested changes, Reviewed-by: Ruifeng Wang > + CHECK_FOR_FLAG(RTE_CPUFLAG_SVE2); > + > + printf("Check for SVEAES:\t"); > + CHECK_FOR_FLAG(RTE_CPUFLAG_SVEAES); > + > + printf("Check for SVEPMULL:\t"); > + CHECK_FOR_FLAG(RTE_CPUFLAG_SVEPMULL); > + > + printf("Check for SVEBITPERM:\t"); > + CHECK_FOR_FLAG(RTE_CPUFLAG_SVEBITPERM); > + > + printf("Check for SVESHA3:\t"); > + CHECK_FOR_FLAG(RTE_CPUFLAG_SVESHA3); > + > + printf("Check for SVESM4:\t"); > + CHECK_FOR_FLAG(RTE_CPUFLAG_SVESM4); > + > + printf("Check for FLAGM2:\t"); > + CHECK_FOR_FLAG(RTE_CPUFLAG_FLAGM2); > + > + printf("Check for FRINT:\t"); > + CHECK_FOR_FLAG(RTE_CPUFLAG_FRINT); > + > + printf("Check for SVEI8MM:\t"); > + CHECK_FOR_FLAG(RTE_CPUFLAG_SVEI8MM); > + > + printf("Check for SVEF32MM:\t"); > + CHECK_FOR_FLAG(RTE_CPUFLAG_SVEF32MM); > + > + printf("Check for SVEF64MM:\t"); > + CHECK_FOR_FLAG(RTE_CPUFLAG_SVEF64MM); > + > + printf("Check for SVEBF16:\t"); > + CHECK_FOR_FLAG(RTE_CPUFLAG_SVEBF16); > #endif >=20 > #if defined(RTE_ARCH_X86_64) || defined(RTE_ARCH_I686) > -- > 2.27.0