Black Lives Matter. Support the Equal Justice Initiative.

Text file src/runtime/atomic_ppc64x.s

Documentation: runtime

     1  // Copyright 2014 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  //go:build ppc64 || ppc64le
     6  // +build ppc64 ppc64le
     7  
     8  #include "textflag.h"
     9  
    10  TEXT ·publicationBarrier(SB),NOSPLIT|NOFRAME,$0-0
    11  	// LWSYNC is the "export" barrier recommended by Power ISA
    12  	// v2.07 book II, appendix B.2.2.2.
    13  	// LWSYNC is a load/load, load/store, and store/store barrier.
    14  	LWSYNC
    15  	RET
    16  

View as plain text