From: Oliver Kurth Date: Fri, 15 Sep 2017 18:23:31 +0000 (-0700) Subject: atomic asm snippets: Remove unnecessary uses of "clrex" X-Git-Tag: stable-10.2.0~288 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dda3fcee5a7382cdbd47e2eb5cb0af3f72b9b8e3;p=thirdparty%2Fopen-vm-tools.git atomic asm snippets: Remove unnecessary uses of "clrex" In our atomic asm snippets, we do not need to use "clrex". --- diff --git a/open-vm-tools/lib/include/vm_atomic.h b/open-vm-tools/lib/include/vm_atomic.h index e089d0027..e909e7fd4 100644 --- a/open-vm-tools/lib/include/vm_atomic.h +++ b/open-vm-tools/lib/include/vm_atomic.h @@ -314,7 +314,7 @@ Atomic_ReadIfEqualWrite128(Atomic_uint128 *ptr, // IN/OUT " b.ne 2f \n\t" " stxp %w2, %x6, %x7, %3 \n\t" " cbnz %w2, 1b \n\t" - "2: clrex \n\t" + "2: \n\t" : "=&r" (res.lo), "=&r" (res.hi), "=&r" (failed),