On Sat, Jan 28, 2012 at 2:06 AM, Alexey Borzenkov <[email protected]> wrote:
> ("bcr 15, 0", : : : "memory")
Ooops, stray comma!
--- ecb.h.orig 2012-01-28 01:53:08.000000000 +0400
+++ ecb.h 2012-01-28 02:06:53.000000000 +0400
@@ -94,6 +94,8 @@
#define ECB_MEMORY_FENCE __asm__ __volatile__ ("membar
#LoadStore | #LoadLoad | #StoreStore | #StoreLoad | " : : : "memory")
#define ECB_MEMORY_FENCE_ACQUIRE __asm__ __volatile__ ("membar
#LoadStore | #LoadLoad" : : : "memory")
#define ECB_MEMORY_FENCE_RELEASE __asm__ __volatile__ ("membar
#LoadStore | #StoreStore")
+ #elif defined(__s390__) || defined(__s390x__)
+ #define ECB_MEMORY_FENCE __asm__ __volatile__ ("bcr 15,
0" : : : "memory")
#endif
#endif
#endif
_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev