mirror of
https://github.com/golang/go
synced 2024-11-19 01:54:39 -07:00
runtime: remove stray commas in assembly
Change-Id: I4dc97ff8111bdc5ca6e4e3af06aaf4f768031c68 Reviewed-on: https://go-review.googlesource.com/2473 Reviewed-by: Minux Ma <minux@golang.org>
This commit is contained in:
parent
43e6923131
commit
f7e43f14d3
@ -451,7 +451,7 @@ TEXT runtime·cas(SB), NOSPLIT, $0-13
|
||||
MOVL new+8(FP), CX
|
||||
LOCK
|
||||
CMPXCHGL CX, 0(BX)
|
||||
SETEQ , ret+12(FP)
|
||||
SETEQ ret+12(FP)
|
||||
RET
|
||||
|
||||
TEXT runtime·casuintptr(SB), NOSPLIT, $0-13
|
||||
@ -482,7 +482,7 @@ TEXT runtime·cas64(SB), NOSPLIT, $0-21
|
||||
MOVL new_hi+16(FP), CX
|
||||
LOCK
|
||||
CMPXCHG8B 0(BP)
|
||||
SETEQ , ret+20(FP)
|
||||
SETEQ ret+20(FP)
|
||||
RET
|
||||
|
||||
// bool casp(void **p, void *old, void *new)
|
||||
@ -498,7 +498,7 @@ TEXT runtime·casp1(SB), NOSPLIT, $0-13
|
||||
MOVL new+8(FP), CX
|
||||
LOCK
|
||||
CMPXCHGL CX, 0(BX)
|
||||
SETEQ , ret+12(FP)
|
||||
SETEQ ret+12(FP)
|
||||
RET
|
||||
|
||||
// uint32 xadd(uint32 volatile *val, int32 delta)
|
||||
|
@ -439,7 +439,7 @@ TEXT runtime·cas(SB), NOSPLIT, $0-17
|
||||
MOVL new+12(FP), CX
|
||||
LOCK
|
||||
CMPXCHGL CX, 0(BX)
|
||||
SETEQ , ret+16(FP)
|
||||
SETEQ ret+16(FP)
|
||||
RET
|
||||
|
||||
// bool runtime·cas64(uint64 *val, uint64 old, uint64 new)
|
||||
@ -456,7 +456,7 @@ TEXT runtime·cas64(SB), NOSPLIT, $0-25
|
||||
MOVQ new+16(FP), CX
|
||||
LOCK
|
||||
CMPXCHGQ CX, 0(BX)
|
||||
SETEQ , ret+24(FP)
|
||||
SETEQ ret+24(FP)
|
||||
RET
|
||||
|
||||
TEXT runtime·casuintptr(SB), NOSPLIT, $0-25
|
||||
@ -484,7 +484,7 @@ TEXT runtime·casp1(SB), NOSPLIT, $0-25
|
||||
MOVQ new+16(FP), CX
|
||||
LOCK
|
||||
CMPXCHGQ CX, 0(BX)
|
||||
SETEQ , ret+24(FP)
|
||||
SETEQ ret+24(FP)
|
||||
RET
|
||||
|
||||
// uint32 xadd(uint32 volatile *val, int32 delta)
|
||||
|
@ -411,7 +411,7 @@ TEXT runtime·cas(SB), NOSPLIT, $0-17
|
||||
MOVL new+8(FP), CX
|
||||
LOCK
|
||||
CMPXCHGL CX, 0(BX)
|
||||
SETEQ , ret+16(FP)
|
||||
SETEQ ret+16(FP)
|
||||
RET
|
||||
|
||||
TEXT runtime·casuintptr(SB), NOSPLIT, $0-17
|
||||
@ -440,7 +440,7 @@ TEXT runtime·cas64(SB), NOSPLIT, $0-25
|
||||
MOVQ new+16(FP), CX
|
||||
LOCK
|
||||
CMPXCHGQ CX, 0(BX)
|
||||
SETEQ , ret+24(FP)
|
||||
SETEQ ret+24(FP)
|
||||
RET
|
||||
|
||||
// bool casp(void **val, void *old, void *new)
|
||||
@ -456,7 +456,7 @@ TEXT runtime·casp1(SB), NOSPLIT, $0-17
|
||||
MOVL new+8(FP), CX
|
||||
LOCK
|
||||
CMPXCHGL CX, 0(BX)
|
||||
SETEQ , ret+16(FP)
|
||||
SETEQ ret+16(FP)
|
||||
RET
|
||||
|
||||
// uint32 xadd(uint32 volatile *val, int32 delta)
|
||||
|
Loading…
Reference in New Issue
Block a user