From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A80EBA0545; Wed, 21 Dec 2022 04:09:03 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 926DC40698; Wed, 21 Dec 2022 04:09:03 +0100 (CET) Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2049.outbound.protection.outlook.com [40.107.22.49]) by mails.dpdk.org (Postfix) with ESMTP id 915E840684 for ; Wed, 21 Dec 2022 04:09:02 +0100 (CET) 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=mzvW+662wDfkRQLvAAh3DBigIc/0T7tvqbuN0btArtU=; b=ao583D3A+hiU72/Rt3+PSWofkzKiWS3ai8eU7v8w9JP1b2BerG8GrX2iWzOrd12yrrACtOoZBRUEkZyxUFu+bmSkzYpyouaBcGGY2GXGuuzIIXRVG8MYweuaYMOYpimg4BACFOFZh12w4Roqh9XVXXz13Q3DJoJIrFDjgUtpz9I= Received: from DBBPR09CA0029.eurprd09.prod.outlook.com (2603:10a6:10:d4::17) by AS8PR08MB6248.eurprd08.prod.outlook.com (2603:10a6:20b:298::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.6; Wed, 21 Dec 2022 03:09:00 +0000 Received: from DBAEUR03FT027.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:d4:cafe::c1) by DBBPR09CA0029.outlook.office365.com (2603:10a6:10:d4::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5924.21 via Frontend Transport; Wed, 21 Dec 2022 03:09:00 +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 DBAEUR03FT027.mail.protection.outlook.com (100.127.142.237) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5924.16 via Frontend Transport; Wed, 21 Dec 2022 03:09:00 +0000 Received: ("Tessian outbound baf1b7a96f25:v132"); Wed, 21 Dec 2022 03:09:00 +0000 X-CR-MTA-TID: 64aa7808 Received: from 0a589596b5bf.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 8338702E-035D-413F-9860-3A02A7DF990A.1; Wed, 21 Dec 2022 03:08:55 +0000 Received: from EUR03-DBA-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 0a589596b5bf.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 21 Dec 2022 03:08:55 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ylo3Oseq4/KaESyWXwJvAiRqlnQvZH+7XCWfoxeN1jVVeB47X1EJNs8RBsQom676wqf850EMOUt1bdZnHvm9EBk24VTyLHKQC1jZzAmHZxcOc3jiPdowWqG1PyYsVzefztfx7v8ieGX6Lp8f3H6OVbK1ZDeIwMqEscMvAwU0oMwuTYQLES9nY82bClahg/FRY0+OimrxNsTQmV9yvHUsvqhAkQkS1B8B8JYkpoKtL54ihBr5bcRYIHB93ukUjNDrsQQ2iOjRVYe8hNqFqBxE1hAuDYgUPTav39wKbutqyC9ZmHjZQiqjYG6Ee1oLTAKahThH3tTQk+8vSL8dQnCXMQ== 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=mzvW+662wDfkRQLvAAh3DBigIc/0T7tvqbuN0btArtU=; b=GizRftiZuKlk+/oNvkZN9QQvnB2L5V50QB8y0L0WQz/mrn1cAU/LD6957YccJLAeBgskwtoQ4Tbz7BGEc/fGoIwWAxHjDgMQ95vOYmwATAnxUFJZFEGFde54N7QyM6wrG7ehx1yMy6CKuq0RsiKwT7Yo7syE/Ao4OYDjKXIQRm9qO8abQ8F6d+VhwIHylPbk9vYIc7Ylc0BBG5nEFQSQEkOF9m2Eq3Ezi0xm6AnQ3io9WxO+700GYTCYu33YPW2xx3r3/FArS9FBhKNt4QbjZWux/ugw55xtOZTI/AB5qfSJLc6x7+/nj7wXLedho6IU0jlSWNOjmo/1mG4n2Zx7rw== 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=mzvW+662wDfkRQLvAAh3DBigIc/0T7tvqbuN0btArtU=; b=ao583D3A+hiU72/Rt3+PSWofkzKiWS3ai8eU7v8w9JP1b2BerG8GrX2iWzOrd12yrrACtOoZBRUEkZyxUFu+bmSkzYpyouaBcGGY2GXGuuzIIXRVG8MYweuaYMOYpimg4BACFOFZh12w4Roqh9XVXXz13Q3DJoJIrFDjgUtpz9I= Received: from AS8PR08MB7080.eurprd08.prod.outlook.com (2603:10a6:20b:401::19) by PAWPR08MB9829.eurprd08.prod.outlook.com (2603:10a6:102:2e6::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.6; Wed, 21 Dec 2022 03:08:53 +0000 Received: from AS8PR08MB7080.eurprd08.prod.outlook.com ([fe80::d1f5:5e80:3187:c213]) by AS8PR08MB7080.eurprd08.prod.outlook.com ([fe80::d1f5:5e80:3187:c213%7]) with mapi id 15.20.5944.006; Wed, 21 Dec 2022 03:08:53 +0000 From: Ruifeng Wang To: Srikanth Yalavarthi CC: "dev@dpdk.org" , "sshankarnara@marvell.com" , "jerinj@marvell.com" , "aprabhu@marvell.com" , nd Subject: RE: [PATCH v3 4/4] common/ml: add Arm NEON type conversion routines Thread-Topic: [PATCH v3 4/4] common/ml: add Arm NEON type conversion routines Thread-Index: AQHZFJv0DKRxjn4HX0Obr9ezP/o/DK53qZzw Date: Wed, 21 Dec 2022 03:08:52 +0000 Message-ID: References: <20221212172108.17993-1-syalavarthi@marvell.com> <20221220175256.31302-1-syalavarthi@marvell.com> <20221220175256.31302-5-syalavarthi@marvell.com> In-Reply-To: <20221220175256.31302-5-syalavarthi@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: FA25B53DF7E5AF42B762D36404D99157.0 x-checkrecipientchecked: true Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; x-ms-traffictypediagnostic: AS8PR08MB7080:EE_|PAWPR08MB9829:EE_|DBAEUR03FT027:EE_|AS8PR08MB6248:EE_ X-MS-Office365-Filtering-Correlation-Id: cd8bc38b-9c28-4802-1007-08dae300b552 x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr 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: NlYgDb/n0HmPjLErS/zfR12R6p70Q3kiSEyitk+F8hVHfoslp4pgy9t/Mk1N9i0pY3bNHuA5m/0ArdeThbjFLN6ggwYDqOzc0o2/lWhYbpw8yWD0fAlIwIxGpcbfxaiTv8vpmVhPugdEKz+3N2d0pMRbq4oKRue+w8UNOl4UNq9pLRL3SQZXz+ETowZhGbZkn0VbYzp5aXN+Y7E2rpH0zIiJUp5ixX97+G6b8PiaBf2uYzIYe6tYEVDytEM264CFcJIa9e+Sh3pe2ejlSAzUy08RZqm71osNy7EOAWBrwVp7JpTwWyBQeEwhNFZ3Oie+qdOAen+qiPXiBQvWHdtQ1J8zHF4tGLnL3Rogq8DhR5zJF5vhEPzlSdtj52zLWnFWHlUZ8/18b850dK90R2+Sgn9TzU7VuJLsfCiwaAt7RmbSzBAaSJ+UjbdCCN4fLg50bMqY9GHr3IJ3GJzMYjHSZi7wSreOFN2rW5l9EQ1EdPm7WU9wqrOjSymyeWR+t1LtUwfBMQxurcPEY+W890LTsKM6fmmHKQfRVWntWfMfLzk+o5P5XIRji0BS//RwZEmHDT1GMf0lJwjrtqn9TKE7JhIxD6eQWMKYMUGZ4zrkbJmTMpn3I5tfXlDobchBNVTIGS0TOYPI6R/rbIJW+VKifIlNlOpWjeefBzAOV7Xc0OA3NQGZEC5KjzxgMsCIjWAgHqhqMcHd0nJMv8qG7MDw0Q== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8PR08MB7080.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(376002)(396003)(366004)(39860400002)(346002)(136003)(451199015)(83380400001)(33656002)(86362001)(7696005)(54906003)(316002)(6916009)(55016003)(38070700005)(122000001)(53546011)(71200400001)(9686003)(6506007)(38100700002)(4744005)(8936002)(66946007)(8676002)(26005)(478600001)(186003)(41300700001)(5660300002)(66476007)(4326008)(66446008)(2906002)(52536014)(66556008)(76116006)(64756008); DIR:OUT; SFP:1101; Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAWPR08MB9829 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DBAEUR03FT027.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: eb898720-fa3a-4b9d-e844-08dae300b0a4 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: GGObYkOc8vBZRNZE2WgGi+IVJ3F239+YDEJz6Dxdsp50s0XUlLhVBdmBUjxJ4ZZH5iNgrKkkyPviSsoUchbdsbB88k8bmWkrKMvwvrWTmzdIkyBROychGj8wCNP12SnjJ9uksCiZyFB5KVE6GxGlQMdFIy5/vxH0POzDf6kxZptImqiQgboEei4Gxzst5AbWZTyWrp8omNNzqAisssc4drwHkIwewlEU4yzl1DsgYGZ/YJX2ETjFVL+l7zh/I9QbxZMihiTlrLnZHJd+lACdjp2cggNCDzBtkeEAmFxxc6PB2sBPaqgtWlQcXT9g1AOAvw13H+0ftXLcZzwdXhBT0/WLKBH/3rU7lrU4+SLM87AHKnM5NDDNDSFTVcdpi+wMhhoRyJpFdlw5sswcM7cs50LwssmsUlnqt9IJzbiZGPH3EOGD4CAGdzSYYJfUGJO5T84vKHtw59oHN6BGXFTPNwPVdR85y6Mpc8EluEspssZcOXHoT+VBv61SrCzkvNpDCtRhisDriceOpo84poz6GtEAzHIew5GoXbiOwwYfkZmj3SZwwGVH+JqwGqOD5KbDdvXg1Re+hrGNBacLMs0Q6lemq3LFNli48RdoGp4D8M7oriCh9TEG5eNGpvNkyW3cUy1Ax4jrOqU3uga8g8zY+D2Yxkv/KetojygYFgu7T3yZHHJyNetJCj8jVCWfKPGfcPLboh6WLCzhu0QCIX76Iw== 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:(13230022)(4636009)(39860400002)(136003)(376002)(396003)(346002)(451199015)(46966006)(36840700001)(40470700004)(33656002)(81166007)(6506007)(41300700001)(2906002)(82740400003)(356005)(7696005)(40460700003)(8676002)(36860700001)(4326008)(478600001)(70206006)(40480700001)(55016003)(336012)(8936002)(6862004)(53546011)(52536014)(70586007)(86362001)(316002)(54906003)(47076005)(82310400005)(186003)(83380400001)(26005)(9686003)(5660300002); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Dec 2022 03:09:00.7749 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: cd8bc38b-9c28-4802-1007-08dae300b552 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: DBAEUR03FT027.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB6248 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org > -----Original Message----- > From: Srikanth Yalavarthi > Sent: Wednesday, December 21, 2022 1:53 AM > To: Srikanth Yalavarthi ; Ruifeng Wang > Cc: dev@dpdk.org; sshankarnara@marvell.com; jerinj@marvell.com; aprabhu@m= arvell.com > Subject: [PATCH v3 4/4] common/ml: add Arm NEON type conversion routines >=20 > Added ARM NEON intrinsic based implementations to support conversion of d= ata types. > Support is enabled to handle int8, uint8, int16, uint16, float16, float32= and bfloat16 > types. >=20 > Signed-off-by: Srikanth Yalavarthi > --- > v2: > * Dropped use of driver routines to call neon functions > * Optimization of neon functions. Reduce the number of intrinsic calls. >=20 > drivers/common/ml/meson.build | 4 + > drivers/common/ml/ml_utils_neon.c | 873 ++++++++++++++++++++++++++++++ > 2 files changed, 877 insertions(+) > create mode 100644 drivers/common/ml/ml_utils_neon.c >=20 Acked-by: Ruifeng Wang