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 internal∕runtime∕atomic·Xchg(SB)
11
12TEXT ·SwapUint32(SB),NOSPLIT,$0
13 JMP internal∕runtime∕atomic·Xchg(SB)
14
15TEXT ·SwapInt64(SB),NOSPLIT,$0
16 JMP internal∕runtime∕atomic·Xchg64(SB)
17
18TEXT ·SwapUint64(SB),NOSPLIT,$0
19 JMP internal∕runtime∕atomic·Xchg64(SB)
20
21TEXT ·SwapUintptr(SB),NOSPLIT,$0
22 JMP internal∕runtime∕atomic·Xchguintptr(SB)
23
24TEXT ·CompareAndSwapInt32(SB),NOSPLIT,$0
25 JMP internal∕runtime∕atomic·Cas(SB)
26
27TEXT ·CompareAndSwapUint32(SB),NOSPLIT,$0
28 JMP internal∕runtime∕atomic·Cas(SB)
29
30TEXT ·CompareAndSwapUintptr(SB),NOSPLIT,$0
31 JMP internal∕runtime∕atomic·Casuintptr(SB)
32
33TEXT ·CompareAndSwapInt64(SB),NOSPLIT,$0
34 JMP internal∕runtime∕atomic·Cas64(SB)
35
36TEXT ·CompareAndSwapUint64(SB),NOSPLIT,$0
37 JMP internal∕runtime∕atomic·Cas64(SB)
38
39TEXT ·AddInt32(SB),NOSPLIT,$0
40 JMP internal∕runtime∕atomic·Xadd(SB)
41
42TEXT ·AddUint32(SB),NOSPLIT,$0
43 JMP internal∕runtime∕atomic·Xadd(SB)
44
45TEXT ·AddUintptr(SB),NOSPLIT,$0
46 JMP internal∕runtime∕atomic·Xadduintptr(SB)
47
48TEXT ·AddInt64(SB),NOSPLIT,$0
49 JMP internal∕runtime∕atomic·Xadd64(SB)
50
51TEXT ·AddUint64(SB),NOSPLIT,$0
52 JMP internal∕runtime∕atomic·Xadd64(SB)
53
54TEXT ·LoadInt32(SB),NOSPLIT,$0
55 JMP internal∕runtime∕atomic·Load(SB)
56
57TEXT ·LoadUint32(SB),NOSPLIT,$0
58 JMP internal∕runtime∕atomic·Load(SB)
59
60TEXT ·LoadInt64(SB),NOSPLIT,$0
61 JMP internal∕runtime∕atomic·Load64(SB)
62
63TEXT ·LoadUint64(SB),NOSPLIT,$0
64 JMP internal∕runtime∕atomic·Load64(SB)
65
66TEXT ·LoadUintptr(SB),NOSPLIT,$0
67 JMP internal∕runtime∕atomic·Loaduintptr(SB)
68
69TEXT ·LoadPointer(SB),NOSPLIT,$0
70 JMP internal∕runtime∕atomic·Loadp(SB)
71
72TEXT ·StoreInt32(SB),NOSPLIT,$0
73 JMP internal∕runtime∕atomic·Store(SB)
74
75TEXT ·StoreUint32(SB),NOSPLIT,$0
76 JMP internal∕runtime∕atomic·Store(SB)
77
78TEXT ·StoreInt64(SB),NOSPLIT,$0
79 JMP internal∕runtime∕atomic·Store64(SB)
80
81TEXT ·StoreUint64(SB),NOSPLIT,$0
82 JMP internal∕runtime∕atomic·Store64(SB)
83
84TEXT ·StoreUintptr(SB),NOSPLIT,$0
85 JMP internal∕runtime∕atomic·Storeuintptr(SB)
86
87TEXT ·AndInt32(SB),NOSPLIT,$0
88 JMP internal∕runtime∕atomic·And32(SB)
89
90TEXT ·AndUint32(SB),NOSPLIT,$0
91 JMP internal∕runtime∕atomic·And32(SB)
92
93TEXT ·AndUintptr(SB),NOSPLIT,$0
94 JMP internal∕runtime∕atomic·Anduintptr(SB)
95
96TEXT ·AndInt64(SB),NOSPLIT,$0
97 JMP internal∕runtime∕atomic·And64(SB)
98
99TEXT ·AndUint64(SB),NOSPLIT,$0
100 JMP internal∕runtime∕atomic·And64(SB)
101
102TEXT ·OrInt32(SB),NOSPLIT,$0
103 JMP internal∕runtime∕atomic·Or32(SB)
104
105TEXT ·OrUint32(SB),NOSPLIT,$0
106 JMP internal∕runtime∕atomic·Or32(SB)
107
108TEXT ·OrUintptr(SB),NOSPLIT,$0
109 JMP internal∕runtime∕atomic·Oruintptr(SB)
110
111TEXT ·OrInt64(SB),NOSPLIT,$0
112 JMP internal∕runtime∕atomic·Or64(SB)
113
114TEXT ·OrUint64(SB),NOSPLIT,$0
115 JMP internal∕runtime∕atomic·Or64(SB)
View as plain text