]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
atomic asm snippets: Remove unnecessary uses of "clrex"
authorOliver Kurth <okurth@vmware.com>
Fri, 15 Sep 2017 18:23:31 +0000 (11:23 -0700)
committerOliver Kurth <okurth@vmware.com>
Fri, 15 Sep 2017 18:23:31 +0000 (11:23 -0700)
In our atomic asm snippets, we do not need to use "clrex".

open-vm-tools/lib/include/vm_atomic.h

index e089d0027bc1c97145d3d8cba24c7d1bd94a3344..e909e7fd4f5c9a68de99e6b241fa461794e509c7 100644 (file)
@@ -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),