github.com/gocuntian/go@v0.0.0-20160610041250-fee02d270bf8/src/runtime/internal/atomic/sys_nacl_arm.s (about)

     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  TEXT runtime∕internal∕atomic·Casp(SB),NOSPLIT,$0
     8  	B	runtime·cas(SB)
     9  
    10  // This is only valid for ARMv6+, however, NaCl/ARM is only defined
    11  // for ARMv7A anyway.
    12  TEXT runtime∕internal∕atomic·Cas(SB),NOSPLIT,$0
    13  	B	runtime∕internal∕atomic·armcas(SB)
    14  
    15  TEXT runtime∕internal∕atomic·Casp1(SB),NOSPLIT,$0
    16  	B	runtime∕internal∕atomic·Cas(SB)