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 90B2441DB5; Thu, 2 Mar 2023 15:40:59 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7376140E09; Thu, 2 Mar 2023 15:40:59 +0100 (CET) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id EDC1C400D6 for ; Thu, 2 Mar 2023 15:40:58 +0100 (CET) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: [PATCH 00/17] use __atomic operations returning previous value Date: Thu, 2 Mar 2023 15:40:53 +0100 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35D877A7@smartserver.smartshare.dk> In-Reply-To: <1677718068-2412-1-git-send-email-roretzla@linux.microsoft.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH 00/17] use __atomic operations returning previous value Thread-Index: AdlMoLAol0HvzzoyTzKYLl3jmEVk0gAdCygA References: <1677718068-2412-1-git-send-email-roretzla@linux.microsoft.com> From: =?iso-8859-1?Q?Morten_Br=F8rup?= To: "Tyler Retzlaff" , Cc: , 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 > From: Tyler Retzlaff [mailto:roretzla@linux.microsoft.com] > Sent: Thursday, 2 March 2023 01.48 > To: dev@dpdk.org > Cc: Honnappa.Nagarahalli@arm.com; thomas@monjalon.net; Tyler Retzlaff > Subject: [PATCH 00/17] use __atomic operations returning previous = value >=20 > This series replaces uses of __atomic_{add,and,or,sub,xor}_fetch with > __atomic_fetch_{add,and,or,sub,xor} intrinsics. The latter omits = generation > of code that is only needed if the returned value is actually used. >=20 > Additionally, this change simplifies adapting dpdk to standard atomics > planned for 23.07 since __atomic_fetch_xxx can be trivially replaced = with > atomic_fetch_xxx whereas __atomic_xxx_fetch has no standard = equivalent. >=20 Series-acked-by: Morten Br=F8rup