Text file src/runtime/atomic_ppc64x.s

     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  
     7  #include "textflag.h"
     8  
     9  TEXT ¬∑publicationBarrier(SB),NOSPLIT|NOFRAME,$0-0
    10  	// LWSYNC is the "export" barrier recommended by Power ISA
    11  	// v2.07 book II, appendix B.2.2.2.
    12  	// LWSYNC is a load/load, load/store, and store/store barrier.
    13  	LWSYNC
    14  	RET
    15  

View as plain text