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 5894341CAD for ; Thu, 16 Feb 2023 07:53:54 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 47C3341138; Thu, 16 Feb 2023 07:53:54 +0100 (CET) Received: from EUR02-DB5-obe.outbound.protection.outlook.com (mail-db5eur02on2067.outbound.protection.outlook.com [40.107.249.67]) by mails.dpdk.org (Postfix) with ESMTP id 0EB3D40695; Thu, 16 Feb 2023 07:53:52 +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=cxNWxBRucuTTylw1Crm9YEGzuG5vjHC349khvIZixDY=; b=8X2D+bSjWljhYEcsbqNQwH9l37apZ44S8zwsYca7vNmTyZ4L5h1YQmviaeN7w1aNQIlb/WAf9Ajys9/LP2VS2Dc1X6Gy5DIKTe8KD9GhaMJfXXu3yrf1MhrpepIAeCfPAskNRlXQ8LYsI3JlakTZ7/A2JGmvcUPLNzWw0mZpK/8= Received: from AS8PR04CA0065.eurprd04.prod.outlook.com (2603:10a6:20b:313::10) by DB3PR08MB9111.eurprd08.prod.outlook.com (2603:10a6:10:43c::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6086.24; Thu, 16 Feb 2023 06:53:49 +0000 Received: from AM7EUR03FT036.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:313:cafe::b8) by AS8PR04CA0065.outlook.office365.com (2603:10a6:20b:313::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6111.13 via Frontend Transport; Thu, 16 Feb 2023 06:53:49 +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 AM7EUR03FT036.mail.protection.outlook.com (100.127.140.93) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6111.13 via Frontend Transport; Thu, 16 Feb 2023 06:53:48 +0000 Received: ("Tessian outbound b1d3ffe56e73:v132"); Thu, 16 Feb 2023 06:53:48 +0000 X-CR-MTA-TID: 64aa7808 Received: from 1728b2093bfb.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 51B3C36B-E52C-41AA-8433-DAE3314C93ED.1; Thu, 16 Feb 2023 06:53:42 +0000 Received: from EUR05-DB8-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 1728b2093bfb.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 16 Feb 2023 06:53:42 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=buWuGZY2UCKh5drt3NwmjuMkiVLeXbpO3HlxzDbiNKj1NDaaFksCgw8zqPMmBAtCQfKkoc5D5Jw6CcycKSFRLbU2wauNOTFeXVs4GekPJ7iXd8WsOIDesydyhNFCMa6X5U+A95bCOBftHvSjFj6ApUvmYd0VdFmFSIbQX1rIDd45r2z0VAJxlx4zWkLCEsv44+FfD9JXjOMNDvTIIaGIMsP/EhDVW+yXfIzoh/blIkGOG+xTuV1/C+kHoCZrr7Jl6uX1Z0UlJmXD8v9sLmUnuIYoMIJGA0umOEbcDpZ0y1wAtBNGevyw98tA6oM+ST/3+0r310hpPJSML9HxlqAR7g== 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=cxNWxBRucuTTylw1Crm9YEGzuG5vjHC349khvIZixDY=; b=aTEi358NhbTvLCusrna9n2HXLhafXpDDzGos/K9k4IfkYwJZmIqvjc3Gj83iZyGZ8xHo+XCgA/IYFhksAb5HPKUY2u5JEDzfz7q4oEqR9XzqY0WAu56nbvi25gnoUzv3QZ4YRjmTx6P/ACnrHa2bYxMQqGx0YAR/HOfdV5E0eUFUjZEa/zvSZFgzXLjs3m9H7O4Wl5iIAOs+16LfZNZoWH4CubZjfqUh1KefPu6cyjj9txqHutojVYquont5312zOureZmkAOO9KMr4kNlf3N31vk6gcrJ6NP9oW0xXiN3rx9IL/UVYmrnya54SBJAjQBa35EKipZj4rLea4ig0GdA== 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=cxNWxBRucuTTylw1Crm9YEGzuG5vjHC349khvIZixDY=; b=8X2D+bSjWljhYEcsbqNQwH9l37apZ44S8zwsYca7vNmTyZ4L5h1YQmviaeN7w1aNQIlb/WAf9Ajys9/LP2VS2Dc1X6Gy5DIKTe8KD9GhaMJfXXu3yrf1MhrpepIAeCfPAskNRlXQ8LYsI3JlakTZ7/A2JGmvcUPLNzWw0mZpK/8= Received: from AS8PR08MB7080.eurprd08.prod.outlook.com (2603:10a6:20b:401::19) by DB5PR08MB10234.eurprd08.prod.outlook.com (2603:10a6:10:4a6::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6111.12; Thu, 16 Feb 2023 06:53:38 +0000 Received: from AS8PR08MB7080.eurprd08.prod.outlook.com ([fe80::3e2c:a99c:db5b:601f]) by AS8PR08MB7080.eurprd08.prod.outlook.com ([fe80::3e2c:a99c:db5b:601f%5]) with mapi id 15.20.6111.013; Thu, 16 Feb 2023 06:53:38 +0000 From: Ruifeng Wang To: Honnappa Nagarahalli , "roretzla@linux.microsoft.com" , "bruce.richardson@intel.com" , "mb@smartsharesystems.com" CC: "dev@dpdk.org" , Honnappa Nagarahalli , "jerinj@marvell.com" , nd , "stable@dpdk.org" , "pbhagavatula@marvell.com" , nd Subject: RE: [RFC] eal: use same atomic intrinsics for gcc and clang Thread-Topic: [RFC] eal: use same atomic intrinsics for gcc and clang Thread-Index: AQHZPbwfliLb+DitM0iX4yU21SaJKK7RKuWg Date: Thu, 16 Feb 2023 06:53:37 +0000 Message-ID: References: <20230211015622.408487-1-honnappa.nagarahalli@arm.com> In-Reply-To: <20230211015622.408487-1-honnappa.nagarahalli@arm.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: DB079B2F822F414CAB4E5BC62DD447C8.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_|DB5PR08MB10234:EE_|AM7EUR03FT036:EE_|DB3PR08MB9111:EE_ X-MS-Office365-Filtering-Correlation-Id: 15d2080f-d897-4638-703f-08db0fea8e6e 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: 7wvCyhOijB3BCrISQE1MAJvFKgV4x4gK+tmB/kX3UiCaYcwypV/4lGhYTesAfGa8Kdril7ca83QKP5HFq9+6fYcRTt/HlZL2YPMbkVgHzoT+l7AwbtsbE4o7r31ph3UTqepHMZu5NpARQPjbD6P19hlA/+k15NoLv45+r1/+eRYSxZ7yaHaz+ZKTqHy8l55mx9qTsrDHLJs3jb/WFQHSAQWiIe+n+Br1+16HSdFyMtqu0/ibEIZnLJeaKREkxR7nKK0Zkf9T6fEsSNmEfo+F7Qxnfes03Vw0l9TXKMk2fzs1JVhgwXblNC/yGM3cGUXprDNla/3t7fGgJskDwgfrHVQKnDOyl0GTNlKSmFW/EQXKkVCbDEuLhJBfMpteT/1x8VaGqr4f1hbWlBCEkonEqFbes3VRgxojDiaVy18rghNBM7BKqbbXmRFIjCN8aksgal1Rhd7G0LSxiktFFcRZSXhMwiQH98Iaxh9qVxKzDyaQSLdzAn+ZFLIML0M9tLkWu2gdWN0Z/p8/ectO7PQe5//00flIWDDsZbwbUnGFInCiGtfTfV+H7jwQbibK54wDJ1bfSr3mqGBPzmWF34JYxTePPSnfH2aUSQLT9JzOy7JXKBIVqrFCgMzvUULpIcFKyxQWTrhPy8cMEnW75bMk6nhpsoKvqygWCi6wO7ZyCuTj4b82MFiDmVbhHl6QoADSf6J8/Ddyuj2ImX2JDx55oQ== 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:(13230025)(4636009)(366004)(396003)(136003)(39860400002)(346002)(376002)(451199018)(316002)(9686003)(86362001)(33656002)(38070700005)(122000001)(38100700002)(6506007)(83380400001)(53546011)(26005)(186003)(5660300002)(4744005)(478600001)(8936002)(7696005)(54906003)(71200400001)(110136005)(41300700001)(55016003)(76116006)(2906002)(52536014)(66446008)(66946007)(66476007)(8676002)(4326008)(64756008)(66556008); 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: DB5PR08MB10234 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: AM7EUR03FT036.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: acd60cff-471b-4817-8ca2-08db0fea87e8 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: XJXnsf34jR4fTZolW5QfKogWDKdGsmVnCVJpmJRSroFzjRp0bMXBBtCTGnCJco7EAZII6WGLSNGJ/HyGuH1Uf2cyP2qMKgZnjfDjLlRKfLVt5dUnyovk6UH7IhptFFIG/cdLBI36vRa4zVulZttS/a1FyMqxNhueZT/Z3GOfkowL3YmKPv4KNot4rjVZ+9fV0gr2ozgcfuika8usE0LuEu922y3+e2UtZ7hnnmKHuN5ep204xpqE/CrciELuKJmqNGUsf0MPfoMqoImQPqMhuqCfUOKSPqX07ff3mEITf0igbaTXdeiiTCu9EngKPa0gRLCgwHOuaS8gnuq7hYSPk0Ul0KDnGqY5ThB6yi0NLi5bHOhaWp+wr5tOThEUCpVeHFkgIBjyTPqVwseKz26Gu8lRPTs/5I6momiGHQuYcYxGJq4z1TIK3EKl6b1zpaI8XsJNnUr5npw8ESxn3+p5LYPswzA9l3Gicksgk7v8vBKR/jCGi+9BivLNSeAApDxhaamSighTH+TiQzZMinQw+ouT6K1eLVt7RhmYMnlf4eo7YQCZrOrOelYmOXlmESS/XMe6jmIZqxi9tlxhFpSFdQ2B3P6afXzfqRf3PjCTYxzZHcTQNScM4dB2/Zu5S7bvZMXfSF2ZtmiWQER4yI2TupN/hbOHma9/ofjHQd2G1rT6oZEarSD3dLfpVxOAB+AceOyTitckO9E97EPoWcSzyg== 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:(13230025)(4636009)(39860400002)(346002)(396003)(376002)(136003)(451199018)(40470700004)(36840700001)(46966006)(4326008)(82310400005)(316002)(54906003)(86362001)(110136005)(33656002)(478600001)(4744005)(7696005)(9686003)(40460700003)(2906002)(70206006)(36860700001)(41300700001)(5660300002)(6506007)(53546011)(26005)(186003)(47076005)(336012)(55016003)(40480700001)(8676002)(82740400003)(8936002)(52536014)(81166007)(70586007)(450100002)(83380400001)(356005); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Feb 2023 06:53:48.8642 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 15d2080f-d897-4638-703f-08db0fea8e6e 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: AM7EUR03FT036.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR08MB9111 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org > -----Original Message----- > From: Honnappa Nagarahalli > Sent: Saturday, February 11, 2023 9:56 AM > To: roretzla@linux.microsoft.com; bruce.richardson@intel.com; mb@smartsha= resystems.com > Cc: dev@dpdk.org; Honnappa Nagarahalli ; Ru= ifeng Wang > ; jerinj@marvell.com; nd ; stable@dpdk.= org; > pbhagavatula@marvell.com > Subject: [RFC] eal: use same atomic intrinsics for gcc and clang >=20 > The size generic atomic intrinsics generate the same code as the size spe= cific intrinsics > for gcc. Use size generic intrinsics for both gcc and clang. >=20 > Fixes: 7bdccb93078e ("eal: fix ARM build with clang") > Cc: stable@dpdk.org > Cc: pbhagavatula@marvell.com >=20 > Signed-off-by: Honnappa Nagarahalli > --- Reviewed-by: Ruifeng Wang Thanks.