ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libecb/ecb.h
(Generate patch)

Comparing libecb/ecb.h (file contents):
Revision 1.80 by root, Wed Feb 22 01:52:42 2012 UTC vs.
Revision 1.81 by root, Fri Mar 23 19:04:07 2012 UTC

100 #define ECB_MEMORY_FENCE_RELEASE __asm__ __volatile__ ("membar #LoadStore | #StoreStore") 100 #define ECB_MEMORY_FENCE_RELEASE __asm__ __volatile__ ("membar #LoadStore | #StoreStore")
101 #elif defined(__s390__) || defined(__s390x__) 101 #elif defined(__s390__) || defined(__s390x__)
102 #define ECB_MEMORY_FENCE __asm__ __volatile__ ("bcr 15,0" : : : "memory") 102 #define ECB_MEMORY_FENCE __asm__ __volatile__ ("bcr 15,0" : : : "memory")
103 #elif defined(__mips__) 103 #elif defined(__mips__)
104 #define ECB_MEMORY_FENCE __asm__ __volatile__ ("sync" : : : "memory") 104 #define ECB_MEMORY_FENCE __asm__ __volatile__ ("sync" : : : "memory")
105 #elif __xlC__
106 #define ECB_MEMORY_FENCE __lwsync ()
105 #endif 107 #endif
106 #endif 108 #endif
107#endif 109#endif
108 110
109#ifndef ECB_MEMORY_FENCE 111#ifndef ECB_MEMORY_FENCE

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines