mirror of
https://github.com/golang/go
synced 2024-11-19 14:04:46 -07:00
runtime: remove unnecessary sync from publicationBarrier on s390x
Memory accesses on z are at least as ordered as they are on AMD64. Change-Id: Ia515430e571ebd07e9314de05c54dc992ab76b95 Reviewed-on: https://go-review.googlesource.com/74010 Run-TryBot: Michael Munday <mike.munday@ibm.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Michael Munday <mike.munday@ibm.com>
This commit is contained in:
parent
03c8c56682
commit
7fff1db060
@ -915,7 +915,8 @@ TEXT runtime·sigreturn(SB),NOSPLIT,$0-0
|
|||||||
RET
|
RET
|
||||||
|
|
||||||
TEXT ·publicationBarrier(SB),NOSPLIT|NOFRAME,$0-0
|
TEXT ·publicationBarrier(SB),NOSPLIT|NOFRAME,$0-0
|
||||||
SYNC
|
// Stores are already ordered on s390x, so this is just a
|
||||||
|
// compile barrier.
|
||||||
RET
|
RET
|
||||||
|
|
||||||
TEXT runtime·cmpstring(SB),NOSPLIT|NOFRAME,$0-40
|
TEXT runtime·cmpstring(SB),NOSPLIT|NOFRAME,$0-40
|
||||||
|
Loading…
Reference in New Issue
Block a user