aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/atomic_mips64x.s
blob: e2118e6a20b2538cbd0f0740316533837a8bed05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2015 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build mips64 || mips64le
// +build mips64 mips64le

#include "textflag.h"

#define SYNC	WORD $0xf

TEXT ·publicationBarrier(SB),NOSPLIT|NOFRAME,$0-0
	SYNC
	RET