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 E7C09A034C; Mon, 12 Dec 2022 18:26:07 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CFCEC40687; Mon, 12 Dec 2022 18:26:07 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 1D47240684 for ; Mon, 12 Dec 2022 18:26:06 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2BCCtUht011439; Mon, 12 Dec 2022 09:26:02 -0800 Received: from nam04-bn8-obe.outbound.protection.outlook.com (mail-bn8nam04lp2043.outbound.protection.outlook.com [104.47.74.43]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3mctgsekdc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 12 Dec 2022 09:26:02 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ad8LwIWv5p/tSFkvVISWOhfnyZ3LvVxXhkuriW6DT0ae981znotDzEFSyDGsFUX6go9ebVken2yQzhWT8brplWiFLcilX7CTmDmPPHl0SBTf8AX1OxvQWVLWBzzON7GGWQqCAIaMpgJyHgpz5VjuPJm/zIYBQi/wkLvWfGKluxJjQ6SyL+C2OSMNYOsoziDS5tX06jTS0EfIzBCCH1mVQX1+6omUxlw5w6L5SnuFr6yuDlf3o91TxxFCVjtu/OhYZYYMkRk/D0eo/yTwbcB/DsVnKsIy+K+84oFqhK1oXznJVqhuvrrVg/8YRqOBHFqfZr9IDOy/UXsgi9LjhQ5rnQ== 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=4/f45e2Vl38yz+RNbNqt2tREqqT+93T0pNqT8YVBIC8=; b=azEBi2Y7Lr47RWrtWeLO5bRSBFC+rhoil0RdM6iNklpdBg3S8TyM042Jq9+qp/6TJRU6vlD8oqA6Ehl/FncWdzew4akFwmPTjxJ8Fb7zqbHF0BrxKnKGoiU9D8TzjkOjRcQzoQD+qDwUUUmgSzGMhqItrTJBsyN+s9t2v5Cos9xI3yJ61ziKW/Vmk4PopOK90uNTu2tifyjEBmVcSlyU2kY9n9uvxY/akJS80aWWnkMBsGp3DTXGr43fKq5WnvCqMX18tEwNYSDjJh2lh9VQvEn+4nfoExJJBIl60pA12CYoiOdpcXW+/7DOKT/AkkCuR72ycdbFBTjpJz/BxpGCyg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4/f45e2Vl38yz+RNbNqt2tREqqT+93T0pNqT8YVBIC8=; b=qUbOuHTdxDOS7K9YI2HaHmW+oGsrAC5tG2+rNBVur9iX0FjqXSQWI+K++ujhbfuydi4clQdcmos6ow3gGs/LMufhQEbo8ud/7HyT9uHTj0JrKC4a106dmWzugo193mcuKlo+W/73GcP6E50rIOVk+oO7pXLbp2TXzQ1EO8g6/Js= Received: from CO6PR18MB3939.namprd18.prod.outlook.com (2603:10b6:5:34d::18) by BY3PR18MB4786.namprd18.prod.outlook.com (2603:10b6:a03:3cd::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5880.11; Mon, 12 Dec 2022 17:25:58 +0000 Received: from CO6PR18MB3939.namprd18.prod.outlook.com ([fe80::d13c:e84a:6a65:4b4f]) by CO6PR18MB3939.namprd18.prod.outlook.com ([fe80::d13c:e84a:6a65:4b4f%6]) with mapi id 15.20.5880.019; Mon, 12 Dec 2022 17:25:58 +0000 From: Srikanth Yalavarthi To: Ruifeng Wang CC: "dev@dpdk.org" , Shivah Shankar Shankar Narayan Rao , Jerin Jacob Kollanukkaran , Anup Prabhu , nd , Srikanth Yalavarthi Subject: RE: [PATCH v1 4/4] common/ml: add Arm NEON type conversion routines Thread-Topic: [PATCH v1 4/4] common/ml: add Arm NEON type conversion routines Thread-Index: AQHZCzxFkODQ0Qzws0mrqsDZC/A2vK5p3LeAgACptZA= Date: Mon, 12 Dec 2022 17:25:58 +0000 Message-ID: References: <20221208193532.16718-1-syalavarthi@marvell.com> <20221208193532.16718-5-syalavarthi@marvell.com> In-Reply-To: Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-dg-ref: =?us-ascii?Q?PG1ldGE+PGF0IG5tPSJib2R5LnR4dCIgcD0iYzpcdXNlcnNcc3lhbGF2YXJ0?= =?us-ascii?Q?aGlcYXBwZGF0YVxyb2FtaW5nXDA5ZDg0OWI2LTMyZDMtNGE0MC04NWVlLTZi?= =?us-ascii?Q?ODRiYTI5ZTM1Ylxtc2dzXG1zZy0wNzkzMGY5NC03YTQyLTExZWQtOWVkOC05?= =?us-ascii?Q?OGZhOWI4YTVlZTJcYW1lLXRlc3RcMDc5MzBmOTYtN2E0Mi0xMWVkLTllZDgt?= =?us-ascii?Q?OThmYTliOGE1ZWUyYm9keS50eHQiIHN6PSI0MTQ3IiB0PSIxMzMxNTMzOTU1?= =?us-ascii?Q?NDI0MDgwMzkiIGg9Inl5UEZwemlPZU5TSjFzYWEyWS81bW1QRHkzcz0iIGlk?= =?us-ascii?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BQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFCQUFBQUFBQUFBQUlBQUFBQUFBPT0iLz48L21ldGE+ x-dg-rorf: true x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CO6PR18MB3939:EE_|BY3PR18MB4786:EE_ x-ms-office365-filtering-correlation-id: c92b6162-ab05-4b17-6fbb-08dadc65eece x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: CrBe0FCashqPiKo5IWZaYI/u6rl/Ad6O9fRqDamUIRslXvAz41c1+KHFBNOe5q90/VEYh88pZd6GgpRjQk++S8YABlbt+mYII/oEltKg6F2tZXKS3ltai8NkaFHm/3u4L650CnPLtQx6ysK5+vvmVmg/NgmXfiE3SG2eKx7rMsZtUekdTyRekPrxJAF0LnAkoWTxxD4yyEfMUTxqE2UM6tAzfrAUXS3oKbsrVO5naenpNVAEyfqBBcc0TGiyKviJCS5BHHmz/44cCWOJBcNhmIDj/jvGA7I0ZBiX6dRZzPfectCpv5GdMyvnlHjnM0EOdIfN7ETVNLUb6K2hHXT4jSF34tTfnQIjgfREskQVLSvx5Yd83+YlDeMzA3Fam1kZmTErpwimKcTQcf0zam6dWn3zQ9dhvhmpjPazl4WJqZfEMvu1QdaF1U0disAboQzR2rojzoEwBCGuywgsHZ/7UyXnqyt36FJ+JRVZa9/RZRqlcoemQeRZdpKXOj5Mp8wSnvfVHWixHX5jXPAl3bUrgiY2plvr1H3WsJMx7QTZm8PM4BbAEJGMQUNG9GbHDwpiGgE17mUP/dwdkhqELm9i0ONluPxMDEAi7mb8CwvVWsJDZiVTKinHHRv6B+zfVcViqDyc6frxeQKjntrXk3riir4lyrL49pWVKch1BfE3cI86FPFbfhXsc5lE8iDj64ABTMfRt+rJvtELTCLD4V2czg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB3939.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(346002)(366004)(136003)(396003)(39860400002)(376002)(451199015)(38070700005)(122000001)(478600001)(33656002)(38100700002)(86362001)(76116006)(8676002)(316002)(4326008)(66946007)(71200400001)(6916009)(5660300002)(66556008)(52536014)(66446008)(66476007)(41300700001)(8936002)(64756008)(2906002)(55016003)(186003)(83380400001)(6506007)(54906003)(26005)(9686003)(53546011)(7696005)(107886003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?ZFCbLiBdSa3W/9LLZV1XLZUKd92wcKt2xVuMS89sxvVRpZPmjIj/1BEQMH4M?= =?us-ascii?Q?KPfG2FB2T3VjG0mHXZdkF7875kgT1syfycKmADGJ33S7YsAigb49lrhTtU1c?= =?us-ascii?Q?G44tPZ8onvo7ebURwf4s3tNQcNfKCaIWVyyi89VX221oYRj+E6wENinddqUd?= =?us-ascii?Q?ZjCvJVs6UeI2zpBSDFR4NU95EMBIk6TEwxjyhOClKpjQojNleD8hDT+tFXCE?= =?us-ascii?Q?4vUxQr7KSyoa2Bdn9eyqSK+lNvxFhzf4ZP2yBeLCG+De6cvgO0PIW2Rv4eLg?= =?us-ascii?Q?gBXI2f/dwbcYaj2JnfvnwjkCmBSUuHCEu2aj9d8K/1qGUU4Be33JDecvIcRz?= =?us-ascii?Q?wMMsmZjkJQEHyH3IIf4Gba9BL7Z2Z7MPosMsy2e7SxKBvksTSKTZLtrH3GlO?= =?us-ascii?Q?2lApHooBhHsbAkgW7lF4foiRCJU15bahSXxNprQqOz0kD0KdZ1sqeUDmjY/M?= =?us-ascii?Q?Q4F0BX5QJC4kEa+HBvXHNkr7jvFTJfc6Xef01AxOXxtHLDoJCliTZoiiFdML?= =?us-ascii?Q?NEy3ncTRiJiLL4PnLMTAgiMcwjoH4rY4nE5ksl+g1c2uk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q8cQ0OQNKqmdWpRMACYRcC3IgkYEQ4YxPdJSK0Lali9jfN0?= =?us-ascii?Q?p2OvVOyxBoEOvOGrbl6Bw1+gRRHSaU9jyjBKP54wmNkgWDPdUYnUc1UB5S1O?= =?us-ascii?Q?Zt3LwzUPTYA0VocS6mQZ1Pi381DFMg5tIVhDgPcv?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR18MB3939.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c92b6162-ab05-4b17-6fbb-08dadc65eece X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Dec 2022 17:25:58.2191 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ZQDy2+eXlSEBMfjrz/oeiszNWox/WgOH9Qqx7Ch2k10waD97TeIdQdJc3W2QkBzrfrJGmkSCfFaTJihQdMCFFQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY3PR18MB4786 X-Proofpoint-GUID: Dg6WiOetj61rtGTkrM5FbWkTv8_KuL65 X-Proofpoint-ORIG-GUID: Dg6WiOetj61rtGTkrM5FbWkTv8_KuL65 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-12-12_02,2022-12-12_02,2022-06-22_01 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: Ruifeng Wang > Sent: 12 December 2022 12:46 > To: Srikanth Yalavarthi > Cc: dev@dpdk.org; Shivah Shankar Shankar Narayan Rao > ; Jerin Jacob Kollanukkaran > ; Anup Prabhu ; nd > ; Srikanth Yalavarthi > Subject: [EXT] RE: [PATCH v1 4/4] common/ml: add Arm NEON type > conversion routines >=20 > External Email >=20 > ---------------------------------------------------------------------- > > -----Original Message----- > > From: Srikanth Yalavarthi > > Sent: Friday, December 9, 2022 3:36 AM > > To: Srikanth Yalavarthi ; Ruifeng Wang > > > > Cc: dev@dpdk.org; sshankarnara@marvell.com; jerinj@marvell.com; > > aprabhu@marvell.com > > Subject: [PATCH v1 4/4] common/ml: add Arm NEON type conversion > > routines > > > > Added ARM NEON intrinsic based implementations to support conversion > of data types. > > Support is enabled to handle int8, uint8, int16, uint16, float16, > > float32 and bfloat16 types. > > > > Signed-off-by: Srikanth Yalavarthi > > --- > > drivers/common/ml/meson.build | 5 + > > drivers/common/ml/ml_utils.c | 48 ++ > > drivers/common/ml/ml_utils_neon.c | 950 > > ++++++++++++++++++++++++++++++ drivers/common/ml/ml_utils_neon.h > | 23 > > + > > 4 files changed, 1026 insertions(+) > > create mode 100644 drivers/common/ml/ml_utils_neon.c create mode > > 100644 drivers/common/ml/ml_utils_neon.h > > > > diff --git a/drivers/common/ml/meson.build > > b/drivers/common/ml/meson.build index > > 84ae84ee4e..f7ce19b4b4 100644 > > --- a/drivers/common/ml/meson.build > > +++ b/drivers/common/ml/meson.build > > @@ -17,6 +17,11 @@ sources =3D files( > > 'ml_utils_generic.c', > > ) > > > > +if arch_subdir =3D=3D 'arm' > > + headers +=3D files('ml_utils_neon.h') > > + sources +=3D files('ml_utils_neon.c') endif > > + > > deps +=3D ['mldev'] > > > > pmd_supports_disable_iova_as_pa =3D true diff --git > > a/drivers/common/ml/ml_utils.c b/drivers/common/ml/ml_utils.c index > > e2edef0904..3edcf09fde 100644 > > --- a/drivers/common/ml/ml_utils.c > > +++ b/drivers/common/ml/ml_utils.c > > @@ -120,71 +120,119 @@ ml_io_format_to_str(enum rte_ml_io_format > > format, char *str, int > > len) int ml_float32_to_int8(float scale, uint64_t nb_elements, void > > *input, void *output) { > > +#if defined(__ARM_NEON__) > > + return ml_float32_to_int8_neon(scale, nb_elements, input, output); > > +#else > > return ml_float32_to_int8_generic(scale, nb_elements, input, > > output); > > +#endif > > } > > > Maybe __rte_weak can be used to remove the ifdef clutter. >=20 > Something like: > ml_utils.c > __rte_weak int ml_float32_to_int8(float scale, uint64_t nb_elements, void > *input, void *output) { > return ml_float32_to_int8_generic(scale, nb_elements, input, > output); } ml_utis_neon.c int ml_float32_to_int8(float scale, uint64_t > nb_elements, void *input, void *output) { > return ml_float32_to_int8_neon(scale, nb_elements, input, output); > } >=20 Updated the common/ml series implementation. Scalar / generic routines woul= d be weak symbols. > > > diff --git a/drivers/common/ml/ml_utils_neon.c > > b/drivers/common/ml/ml_utils_neon.c > > new file mode 100644 > > index 0000000000..b660de07ec > > --- /dev/null > > +++ b/drivers/common/ml/ml_utils_neon.c > > @@ -0,0 +1,950 @@ > > +/* SPDX-License-Identifier: BSD-3-Clause > > + * Copyright (c) 2022 Marvell. > > + */ > > + > > +#include > > +#include > > +#include > > + > > +#include > > +#include > > + > > +#include "ml_utils.h" > > +#include "ml_utils_neon.h" > > + > > +#include > This line can be removed. It is included rte_vect.h. Done >=20 > Thanks. >