From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] eal: fix bug in x86 cmpset Date: Fri, 27 Oct 2017 00:03:10 +0200 Message-ID: <4412880.1l5vTf8byN@xps> References: <1475184293-18298-1-git-send-email-nikhil.rao@intel.com> <2295899.BebvH11edl@xps13> <20170904125932.GA21808@bricha3-MOBL3.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, "Hunt, David" , Konstantin Ananyev To: Bruce Richardson , Nikhil Rao Return-path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 48A1C1BB26 for ; Fri, 27 Oct 2017 00:03:12 +0200 (CEST) In-Reply-To: <20170904125932.GA21808@bricha3-MOBL3.ger.corp.intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 04/09/2017 15:02, Bruce Richardson: > Couple of other comments on this code area that should be taken into > account: > 1. the indentation of the asm code looks wrong, and should probably be > fixed to make it more readable. > 2. the comment on the "D" register is wrong as it refers to ebx > 3. the fact that we can't use ebx, and instead use edi and swap twice > should be commented. A patch to fix all these comments would be welcome :) > For the fix itself: > > Acked-by: Bruce Richardson Applied (more than one year after the submission), thanks