From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33437) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b5akR-0003nW-N5 for qemu-devel@nongnu.org; Wed, 25 May 2016 11:29:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b5akM-0006Sj-Q4 for qemu-devel@nongnu.org; Wed, 25 May 2016 11:29:27 -0400 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]:33386) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b5akM-0006Sa-Ij for qemu-devel@nongnu.org; Wed, 25 May 2016 11:29:22 -0400 Received: by mail-wm0-x244.google.com with SMTP id a136so1035656wme.0 for ; Wed, 25 May 2016 08:29:22 -0700 (PDT) Sender: Paolo Bonzini References: <1464179166-24137-1-git-send-email-pbonzini@redhat.com> <20160525151525.GB4546@flamenco> From: Paolo Bonzini Message-ID: Date: Wed, 25 May 2016 17:29:19 +0200 MIME-Version: 1.0 In-Reply-To: <20160525151525.GB4546@flamenco> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] docs/atomics: update comparison with Linux List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Emilio G. Cota" Cc: mttcg@greensocs.com, qemu-devel@nongnu.org On 25/05/2016 17:15, Emilio G. Cota wrote: >> > + >> > + In QEMU, the second kind does not exist. Currently Linux has >> > + atomic_fetch_or only; QEMU provides all of inc, dec, and, sub, and, or. > Not clear whether the last 'and' is redundant or is being used as > a conjunction. Either way it would be clearer to just remove it. The first "and" is "add". :) Thanks, Paolo