From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20041.outbound.protection.outlook.com [40.107.2.41]) by dpdk.org (Postfix) with ESMTP id 54F721B5AE for ; Mon, 11 Feb 2019 10:47:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=65X9l9C+k1gCnOmg/ADaax2pyNuQ4OwcKXY+ASdGw8g=; b=ltw4BFR3rjcrUGm5DDzUP/MxB4pA/O5MvyvB3iEsqPWwz2ANu1UW3erTpnvqxBbTLhmo/D8RNmTAs5eUpuIH+/zzreOH8si3PXZXHcI75vKg99EU1N4Lo1hiti4u6nvqgrPlvykSLqRmEZ2VyVXPa9QcQAmB+ikGnjYfUY+zgk8= Received: from AM6PR08MB3782.eurprd08.prod.outlook.com (20.178.89.23) by AM6PR08MB3032.eurprd08.prod.outlook.com (52.135.163.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1601.19; Mon, 11 Feb 2019 09:47:10 +0000 Received: from AM6PR08MB3782.eurprd08.prod.outlook.com ([fe80::4961:be49:af6d:4e50]) by AM6PR08MB3782.eurprd08.prod.outlook.com ([fe80::4961:be49:af6d:4e50%5]) with mapi id 15.20.1601.023; Mon, 11 Feb 2019 09:47:10 +0000 From: "Ruifeng Wang (Arm Technology China)" To: "jerinj@marvell.com" , "yipeng1.wang@intel.com" CC: Honnappa Nagarahalli , nd , "dev@dpdk.org" , nd Thread-Topic: [EXT] [PATCH v1] hash: optimize signature compare by using neon intrinsic Thread-Index: AQHUwdu1jpFKnJxsQUy1yCooBjix8KXaOM0AgAAfpxA= Date: Mon, 11 Feb 2019 09:47:10 +0000 Message-ID: References: <20190211073001.37438-1-ruifeng.wang@arm.com> <8c27de0eb69bc17562e64f977044f59cb7169770.camel@marvell.com> In-Reply-To: <8c27de0eb69bc17562e64f977044f59cb7169770.camel@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Ruifeng.Wang@arm.com; x-originating-ip: [113.29.88.7] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM6PR08MB3032; 20:BhYRVXeGYUS3f3Wj6XlPhpO3/iS4h9b3Z1Ze41kzydcr1Z/9qOiZFEp9MTf/UeWSXX/Q+OcteI1XvlrzImfUu7oyADnd+phCLzpMJPczqMGT+33lopKrIkfWTv3bIFjHvGPWlqW7i0NT0UA6o4YElIK3T6dkR4GHn6o4RdSwMFU= x-ms-office365-filtering-correlation-id: 8be2dfc3-3602-4bd6-f357-08d69005e4d7 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600110)(711020)(4605077)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM6PR08MB3032; x-ms-traffictypediagnostic: AM6PR08MB3032: x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr nodisclaimer: True x-microsoft-antispam-prvs: x-forefront-prvs: 0945B0CC72 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(346002)(396003)(136003)(376002)(39860400002)(13464003)(199004)(189003)(102836004)(6246003)(256004)(71200400001)(86362001)(14444005)(26005)(186003)(71190400001)(2501003)(6436002)(53936002)(105586002)(478600001)(72206003)(97736004)(9686003)(476003)(14454004)(446003)(54906003)(110136005)(11346002)(81166006)(81156014)(25786009)(486006)(55016002)(8936002)(66066001)(305945005)(76176011)(316002)(3846002)(6116002)(6506007)(33656002)(55236004)(53546011)(7736002)(2906002)(68736007)(74316002)(99286004)(229853002)(106356001)(4326008)(8676002)(7696005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR08MB3032; H:AM6PR08MB3782.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: ksar1GLx78Y4BEEUhwTbL7vH0X4Hzr47WwYbkXPz9DguR6LL9Cp74t9Q2YIx8u54kAeoNiz7E9rDCkyk2+yKDZCJ1H/FLjzr47Bwkbsmy4H5ze3KFg/Xo8KE3eGYz5gd8BGnHgraSWTeYj0tCiDwBi328oVR0kTY/iNzCoMU6sbkjxEc4b0ItH9Dij/iNulX7RVsA6ZndoQwRR5JiVI/7nOJpC6QHvgh5ToH/4FuZqsiyxsMPltuyFiCJ5Fh2o/qSqKxntCzbstz8E6NHs/69hbZGjSwHQ2zH9Si8hK47w9epaOXrmAp+2I+FSiOZVHU9oERUJ2dU6TTmpZ+zYGZsvXHETsmnoIH5NecO7iiCX0w3QjLh8FQlZt9X7sY0GPHs+fWAJHQveqIhfrpPqbK4PCLOewczkdj3VJBn6m99LY= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8be2dfc3-3602-4bd6-f357-08d69005e4d7 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Feb 2019 09:47:10.6566 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB3032 Subject: Re: [dpdk-dev] [EXT] [PATCH v1] hash: optimize signature compare by using neon intrinsic 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: , X-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