diff options
Diffstat (limited to 'src/internal/runtime/atomic/atomic_wasm.s')
| -rw-r--r-- | src/internal/runtime/atomic/atomic_wasm.s | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/internal/runtime/atomic/atomic_wasm.s b/src/internal/runtime/atomic/atomic_wasm.s new file mode 100644 index 0000000000..1c2d1ce5e1 --- /dev/null +++ b/src/internal/runtime/atomic/atomic_wasm.s @@ -0,0 +1,10 @@ +// Copyright 2020 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. + +#include "textflag.h" + +TEXT ·StorepNoWB(SB), NOSPLIT, $0-16 + MOVD ptr+0(FP), R0 + MOVD val+8(FP), 0(R0) + RET |
