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 D20A3A0540; Tue, 13 Dec 2022 10:04:31 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C4A7F4021D; Tue, 13 Dec 2022 10:04:31 +0100 (CET) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on2045.outbound.protection.outlook.com [40.107.7.45]) by mails.dpdk.org (Postfix) with ESMTP id 41DA640146 for ; Tue, 13 Dec 2022 10:04:30 +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=re1qaLcQmPVLJfmV8kzVNDSq/IX9t3GvVhix4ytp0nw=; b=l4hFMXiP/Hr2kBzoksDF8ErBI5tTYedLKh3wmKUWhoApJDNtGBwhAJtdZ4esnvuo1+d6qN2gUR2ZfoM9hBrNnFll9VZhgJldLT3gnmsdjyh2IyebTCJOpQ4zjIUEdtUkaf6Ny1co3vl9ParFD4eIngn0mNYr4Egn7QBO8nKYxbk= Received: from AS9PR06CA0489.eurprd06.prod.outlook.com (2603:10a6:20b:49b::13) by AM8PR08MB6355.eurprd08.prod.outlook.com (2603:10a6:20b:363::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5924.10; Tue, 13 Dec 2022 09:04:18 +0000 Received: from VI1EUR03FT039.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:49b:cafe::96) by AS9PR06CA0489.outlook.office365.com (2603:10a6:20b:49b::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5880.19 via Frontend Transport; Tue, 13 Dec 2022 09:04:18 +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 VI1EUR03FT039.mail.protection.outlook.com (100.127.144.77) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5901.21 via Frontend Transport; Tue, 13 Dec 2022 09:04:17 +0000 Received: ("Tessian outbound aeae1c7b66fd:v130"); Tue, 13 Dec 2022 09:04:17 +0000 X-CR-MTA-TID: 64aa7808 Received: from b5722eceae4e.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id F2A36023-2261-49BE-AEC7-19DD2843C587.1; Tue, 13 Dec 2022 09:04:11 +0000 Received: from EUR04-DB3-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id b5722eceae4e.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 13 Dec 2022 09:04:11 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OVr+VcqGGWlAA/bgPyiLv6CR/WERwVrXram6pO8yG8fFQdkgEf+/U4EecdPUq3aLAq3gyTUVO7VdWoazKk3/XW5tsvilnSzJDzL1kFY22YCDPaH0cRHs6beZWAIxHAzT+njTp9DYDqWOTJdRpuWejgxLhyzB4Y1G2CcAvecemNYstaA/zutwNZ9yXsbljQ6cAI4SMAfJzKvdRJ1DB11IAAkiXsmO7rhX62GIBM3vsdTyG7bPkCoHWVqiG8qUl/pNuKew/sf/9rLz2hwwVwgwdgr0uSgagMnUpOmZrSGqCqy1emK9tly2vrmmifKQOFHphM4681QG9HtfnLz3NjBcbg== 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=re1qaLcQmPVLJfmV8kzVNDSq/IX9t3GvVhix4ytp0nw=; b=IdFOFo7dieOadmYksreWb5AVAcChsLUnyUlt9ZkHm3Ci+oFB0rEX5Ys42Y4esAYUyPbErmlk0Nos1ew3HFciyQciw5Idb3Rsor3HgZkqEsK8tXIs3MtyBPCGKo6XvN3ajGsHxKzf4LqIF3mSRGSoZRSLQJam5uIiRE9k6lmDDBc1F/ydSqAnusvIHtll+TeqBqnXHTUtfVhtAxvDtzQu9EQ/xaaHSoj1sluRpeubZgJ9o+vO3YQw8J65GSLJzKHZSV476+2v7KIZ6ZcV3kg5cT09xeyygOaCwvz1rggdoyRP63AZYn1LiQ9JnaRmIQQeEFaXoSTzun7SAA2B8N6AnA== 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=re1qaLcQmPVLJfmV8kzVNDSq/IX9t3GvVhix4ytp0nw=; b=l4hFMXiP/Hr2kBzoksDF8ErBI5tTYedLKh3wmKUWhoApJDNtGBwhAJtdZ4esnvuo1+d6qN2gUR2ZfoM9hBrNnFll9VZhgJldLT3gnmsdjyh2IyebTCJOpQ4zjIUEdtUkaf6Ny1co3vl9ParFD4eIngn0mNYr4Egn7QBO8nKYxbk= Received: from AS8PR08MB7080.eurprd08.prod.outlook.com (2603:10a6:20b:401::19) by AS8PR08MB9718.eurprd08.prod.outlook.com (2603:10a6:20b:616::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5924.10; Tue, 13 Dec 2022 09:04:07 +0000 Received: from AS8PR08MB7080.eurprd08.prod.outlook.com ([fe80::7a19:6a76:8969:ae6]) by AS8PR08MB7080.eurprd08.prod.outlook.com ([fe80::7a19:6a76:8969:ae6%4]) with mapi id 15.20.5924.009; Tue, 13 Dec 2022 09:04:07 +0000 From: Ruifeng Wang To: Srikanth Yalavarthi CC: "dev@dpdk.org" , "sshankarnara@marvell.com" , "jerinj@marvell.com" , "aprabhu@marvell.com" , nd Subject: RE: [PATCH v2 4/4] common/ml: add Arm NEON type conversion routines Thread-Topic: [PATCH v2 4/4] common/ml: add Arm NEON type conversion routines Thread-Index: AQHZDk4z1nXT6ozqa0GPwYc1hYihWa5rhtPw Date: Tue, 13 Dec 2022 09:04:07 +0000 Message-ID: References: <20221208193532.16718-1-syalavarthi@marvell.com> <20221212172108.17993-1-syalavarthi@marvell.com> <20221212172108.17993-5-syalavarthi@marvell.com> In-Reply-To: <20221212172108.17993-5-syalavarthi@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: A3D461E544B23E42A63C2A1BCF346886.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_|AS8PR08MB9718:EE_|VI1EUR03FT039:EE_|AM8PR08MB6355:EE_ X-MS-Office365-Filtering-Correlation-Id: bb359159-4282-46d1-8123-08dadce90415 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: u/nbMkFL8R0DZ5K2EzMQIwiv+8cZ/m30tQyJOMKfiko1hZ4zXiRQwOus+1zMC1L6H+pE8GIKLsSHWoCibpRhFPuWGGncnZ2Q+mKcowAqcS4D5xpXukDIXQFY2hOC6oVXSajCKz8K83Wt+4ILAxbwpE/H5/c62Tf8gFmcRTI2Eg+Rot34J3EVYZlwnePxrHlnxepMSGpWYlxnCPZKT/hRO2NOgXuMjtoLO0Xaj/fuWZqy4BsL0dM6S8f1I5KTD1fiC2wiKqU71W7jlITB0jNYmz7oDQb37V8QwrDmTkd5Ze4IqkF401bQ2AOF7nSXFlBY5hSZcfWQkyk6deHzl2vfplO3Hlz3WQpDQ2SwG1Uq7n7AirhVMmvSayu8AfLvngpBacobKV0d8SAiUoQjn8XJCizbThp5retxJMcl21XceT7owOEuIBzmH9kpaskMMsGqXbNYVPa9fF7anXmIqMD/keqT1yS0yiyZihcxoaGa+lrnd3Ni26EwhK09tRDx7sRsHN62B5r0p1XdJz01Y1EfFCkylLJkPMJPziBbfKMKyuIDMszMBZjuiFQXsCsQkM1KHTZEjGsHzpZW6+7fpnXQ0uUYlXZ5Rm8dN5zSq+RDwT0pDkRdS/BXuHyzaDVZXRBWMePGLCRXWD176fqUtQA+QZGt+xfZKIygvH49wnRurTs4l9q3jlgLDf0fXcxjerYIAGa7L2z2HXv6gLkK470Dfg== 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)(396003)(346002)(39860400002)(376002)(366004)(136003)(451199015)(9686003)(53546011)(26005)(186003)(478600001)(6506007)(7696005)(54906003)(122000001)(6916009)(71200400001)(86362001)(316002)(55016003)(38070700005)(38100700002)(33656002)(83380400001)(52536014)(8936002)(41300700001)(2906002)(4744005)(5660300002)(4326008)(66446008)(66476007)(66556008)(66946007)(76116006)(64756008)(8676002); 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: AS8PR08MB9718 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: VI1EUR03FT039.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: f0d1369c-3a00-4c12-8f97-08dadce8fdd4 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: UlWl9GqDTiW/dhYjVKWX4v/ok5NzIVsTT1leoWkiCQFeZEn6PmOjyiyL1bBFY2gHKgMg+3rRdVG6683lhwXsfweLgbS+pLnGlF5ptzhzLPYBpGCAeOjSvUgIKCWzYHWYFUfKtOXdkDrYQN2KmE73OlDRdTBoEwODYCeqa4AlbTT7s1ceHGhWD0q1atRrxMeoJ1EzpokV7eBZmj3oI4E/utsS91aTm2XM+fV+SuLlZ8P8IpaCBPwTFf2h1WajstwHpeDI+CfYUhdZm03a+AWo2XWANycAjlkxqlPL8JQV1lND2NrAJd0JMsMSVROPkmkNr2iDkSIWe12BNKix1KQpFtCocHF02xPyc4Nnn4FkOIwqqf20/B63pUOWA+qDmGa4+2EWw8QflDrgVgHinjUfu0S7eR8U+InP65SvDcT7rbXLIH6TY/yKxIQmauDUn+96kyZeQmFEZmMr6Q2irKo1Njme5DXH0z/FAe/e4JjnnSeXW7Tmn3U6oKeXLUhcDbLAzW10bzzQJ5z48tNwswkRhZJn/INbEDQjqR+zdNpBrvwjmrNf3fvXrO4nk1P4F6XYYOdAuI1nHCcdLmyQyAnV/eyR9cf0BeEq7eFX2amXa7MJS/nC59euC72FQ4b4C/veRnsKO8IkqyCpZCU+/bWM9sdCUjirpaYjP2GNq/UUA7+mnQEUM12IzCoGfAbc37hxPoBT2vwx3+QZY93bG4mE0Q== 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)(396003)(136003)(376002)(39860400002)(346002)(451199015)(46966006)(36840700001)(40470700004)(81166007)(356005)(86362001)(33656002)(70586007)(70206006)(52536014)(6862004)(5660300002)(8936002)(55016003)(36860700001)(82740400003)(83380400001)(316002)(40460700003)(47076005)(336012)(54906003)(478600001)(8676002)(4326008)(41300700001)(2906002)(82310400005)(53546011)(6506007)(186003)(26005)(7696005)(9686003)(40480700001); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Dec 2022 09:04:17.9105 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: bb359159-4282-46d1-8123-08dadce90415 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: VI1EUR03FT039.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR08MB6355 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: Tuesday, December 13, 2022 1:21 AM > To: Srikanth Yalavarthi ; Ruifeng Wang > Cc: dev@dpdk.org; sshankarnara@marvell.com; jerinj@marvell.com; aprabhu@m= arvell.com > Subject: [PATCH v2 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