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 #include "textflag.h" 6 7 // This is only valid for ARMv6+, however, NaCl/ARM is only defined 8 // for ARMv7A anyway. 9 TEXT runtimeinternalatomicCas(SB),NOSPLIT,$0 10 B runtimeinternalatomicarmcas(SB) 11 12 TEXT runtimeinternalatomicCasp1(SB),NOSPLIT,$0 13 B runtimeinternalatomicCas(SB) 14