Module Name:    src
Committed By:   christos
Date:           Sun Jan 19 20:23:50 UTC 2025

Modified Files:
        src/external/lgpl2/userspace-rcu/dist/include/urcu/arch: sparc64.h

Log Message:
Again, let gcc do the memory barriers.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 \
    src/external/lgpl2/userspace-rcu/dist/include/urcu/arch/sparc64.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/lgpl2/userspace-rcu/dist/include/urcu/arch/sparc64.h
diff -u src/external/lgpl2/userspace-rcu/dist/include/urcu/arch/sparc64.h:1.4 src/external/lgpl2/userspace-rcu/dist/include/urcu/arch/sparc64.h:1.5
--- src/external/lgpl2/userspace-rcu/dist/include/urcu/arch/sparc64.h:1.4	Sun Jan 19 15:15:12 2025
+++ src/external/lgpl2/userspace-rcu/dist/include/urcu/arch/sparc64.h	Sun Jan 19 15:23:50 2025
@@ -41,11 +41,6 @@ __asm__ __volatile__("ba,pt %%xcc, 1f\n\
 #define cmm_mb()	membar_safe("#LoadLoad | #LoadStore | #StoreStore | #StoreLoad")
 #define cmm_rmb()	membar_safe("#LoadLoad")
 #define cmm_wmb()	membar_safe("#StoreStore")
-#else
-/* from gcc config/sparc/sync.md */
-#define cmm_mb()	__asm__ __volatile__("stbar\n\tldstub\t[%sp-1], %g0")
-#define cmm_rmb()	__asm__ __volatile__("ldstub\t[%sp-1], %g0")
-#define cmm_wmb()	__asm__ __volatile__("stbar")
 #endif
 
 #ifdef __cplusplus

Reply via email to