summaryrefslogtreecommitdiff
path: root/src/runtime/internal/atomic/sys_nacl_arm.s
blob: bdc1dd6bcd7c8945bc6de05b2b2bd224a9c5abb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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.

#include "textflag.h"

// This is only valid for ARMv6+, however, NaCl/ARM is only defined
// for ARMv7A anyway.
TEXT runtime∕internal∕atomic·Cas(SB),NOSPLIT,$0
	B	runtime∕internal∕atomic·armcas(SB)

TEXT runtime∕internal∕atomic·Casp1(SB),NOSPLIT,$0
	B	runtime∕internal∕atomic·Cas(SB)