LEFT | RIGHT |
(Both sides are equal) |
1 // Copyright 2011 The Go Authors. All rights reserved. | 1 // Copyright 2011 The Go Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style | 2 // Use of this source code is governed by a BSD-style |
3 // license that can be found in the LICENSE file. | 3 // license that can be found in the LICENSE file. |
4 | 4 |
5 #include "textflag.h" | 5 #include "textflag.h" |
6 | 6 |
7 TEXT ·SwapInt32(SB),NOSPLIT,$0-12 | 7 TEXT ·SwapInt32(SB),NOSPLIT,$0-12 |
8 JMP ·SwapUint32(SB) | 8 JMP ·SwapUint32(SB) |
9 | 9 |
10 TEXT ·SwapUint32(SB),NOSPLIT,$0-12 | 10 TEXT ·SwapUint32(SB),NOSPLIT,$0-12 |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 RET | 150 RET |
151 | 151 |
152 TEXT ·StoreUintptr(SB),NOSPLIT,$0-8 | 152 TEXT ·StoreUintptr(SB),NOSPLIT,$0-8 |
153 JMP ·StorePointer(SB) | 153 JMP ·StorePointer(SB) |
154 | 154 |
155 TEXT ·StorePointer(SB),NOSPLIT,$0-8 | 155 TEXT ·StorePointer(SB),NOSPLIT,$0-8 |
156 MOVL addr+0(FP), BX | 156 MOVL addr+0(FP), BX |
157 MOVL val+4(FP), AX | 157 MOVL val+4(FP), AX |
158 XCHGL AX, 0(BX) | 158 XCHGL AX, 0(BX) |
159 RET | 159 RET |
LEFT | RIGHT |