1// Copyright 2011 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//go:build !race
6
7#include "textflag.h"
8
9TEXT ·SwapInt32(SB),NOSPLIT,$0
10 JMP runtime∕internal∕atomic·Xchg(SB)
11
12TEXT ·SwapUint32(SB),NOSPLIT,$0
13 JMP runtime∕internal∕atomic·Xchg(SB)
14
15TEXT ·SwapInt64(SB),NOSPLIT,$0
16 JMP runtime∕internal∕atomic·Xchg64(SB)
17
18TEXT ·SwapUint64(SB),NOSPLIT,$0
19 JMP runtime∕internal∕atomic·Xchg64(SB)
20
21TEXT ·SwapUintptr(SB),NOSPLIT,$0
22 JMP runtime∕internal∕atomic·Xchguintptr(SB)
23
24TEXT ·CompareAndSwapInt32(SB),NOSPLIT,$0
25 JMP runtime∕internal∕atomic·Cas(SB)
26
27TEXT ·CompareAndSwapUint32(SB),NOSPLIT,$0
28 JMP runtime∕internal∕atomic·Cas(SB)
29
30TEXT ·CompareAndSwapUintptr(SB),NOSPLIT,$0
31 JMP runtime∕internal∕atomic·Casuintptr(SB)
32
33TEXT ·CompareAndSwapInt64(SB),NOSPLIT,$0
34 JMP runtime∕internal∕atomic·Cas64(SB)
35
36TEXT ·CompareAndSwapUint64(SB),NOSPLIT,$0
37 JMP runtime∕internal∕atomic·Cas64(SB)
38
39TEXT ·AddInt32(SB),NOSPLIT,$0
40 JMP runtime∕internal∕atomic·Xadd(SB)
41
42TEXT ·AddUint32(SB),NOSPLIT,$0
43 JMP runtime∕internal∕atomic·Xadd(SB)
44
45TEXT ·AddUintptr(SB),NOSPLIT,$0
46 JMP runtime∕internal∕atomic·Xadduintptr(SB)
47
48TEXT ·AddInt64(SB),NOSPLIT,$0
49 JMP runtime∕internal∕atomic·Xadd64(SB)
50
51TEXT ·AddUint64(SB),NOSPLIT,$0
52 JMP runtime∕internal∕atomic·Xadd64(SB)
53
54TEXT ·LoadInt32(SB),NOSPLIT,$0
55 JMP runtime∕internal∕atomic·Load(SB)
56
57TEXT ·LoadUint32(SB),NOSPLIT,$0
58 JMP runtime∕internal∕atomic·Load(SB)
59
60TEXT ·LoadInt64(SB),NOSPLIT,$0
61 JMP runtime∕internal∕atomic·Load64(SB)
62
63TEXT ·LoadUint64(SB),NOSPLIT,$0
64 JMP runtime∕internal∕atomic·Load64(SB)
65
66TEXT ·LoadUintptr(SB),NOSPLIT,$0
67 JMP runtime∕internal∕atomic·Loaduintptr(SB)
68
69TEXT ·LoadPointer(SB),NOSPLIT,$0
70 JMP runtime∕internal∕atomic·Loadp(SB)
71
72TEXT ·StoreInt32(SB),NOSPLIT,$0
73 JMP runtime∕internal∕atomic·Store(SB)
74
75TEXT ·StoreUint32(SB),NOSPLIT,$0
76 JMP runtime∕internal∕atomic·Store(SB)
77
78TEXT ·StoreInt64(SB),NOSPLIT,$0
79 JMP runtime∕internal∕atomic·Store64(SB)
80
81TEXT ·StoreUint64(SB),NOSPLIT,$0
82 JMP runtime∕internal∕atomic·Store64(SB)
83
84TEXT ·StoreUintptr(SB),NOSPLIT,$0
85 JMP runtime∕internal∕atomic·Storeuintptr(SB)
View as plain text