src/runtime/atomic_mips64x.s
raw| 1 | // Copyright 2015 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 mips64 || mips64le |
| 6 | |
| 7 | #include "textflag.h" |
| 8 | |
| 9 | #define SYNC WORD $0xf |
| 10 | |
| 11 | TEXT ·publicationBarrier(SB),NOSPLIT|NOFRAME,$0-0 |
| 12 | SYNC |
| 13 | RET |