Mercurial > hg > truffle
diff src/os_cpu/linux_ppc/vm/orderAccess_linux_ppc.inline.hpp @ 14445:67fa91961822
8029940: PPC64 (part 122): C2 compiler port
Reviewed-by: kvn
author | goetz |
---|---|
date | Wed, 11 Dec 2013 00:06:11 +0100 |
parents | ec28f9c041ff |
children |
line wrap: on
line diff
--- a/src/os_cpu/linux_ppc/vm/orderAccess_linux_ppc.inline.hpp Tue Dec 10 14:29:43 2013 +0100 +++ b/src/os_cpu/linux_ppc/vm/orderAccess_linux_ppc.inline.hpp Wed Dec 11 00:06:11 2013 +0100 @@ -40,26 +40,26 @@ // // - sync Two-way memory barrier, aka fence. // - lwsync orders Store|Store, -// Load|Store, -// Load|Load, -// but not Store|Load +// Load|Store, +// Load|Load, +// but not Store|Load // - eieio orders Store|Store // - isync Invalidates speculatively executed instructions, -// but isync may complete before storage accesses -// associated with instructions preceding isync have -// been performed. +// but isync may complete before storage accesses +// associated with instructions preceding isync have +// been performed. // // Semantic barrier instructions: // (as defined in orderAccess.hpp) // // - release orders Store|Store, (maps to lwsync) -// Load|Store +// Load|Store // - acquire orders Load|Store, (maps to lwsync) -// Load|Load +// Load|Load // - fence orders Store|Store, (maps to sync) -// Load|Store, -// Load|Load, -// Store|Load +// Load|Store, +// Load|Load, +// Store|Load // #define inlasm_sync() __asm__ __volatile__ ("sync" : : : "memory");