]> Cypherpunks repositories - gostls13.git/commit
runtime/internal/atomic: add s390x atomic operations
authorMichael Munday <munday@ca.ibm.com>
Fri, 18 Mar 2016 23:13:59 +0000 (19:13 -0400)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 12 Apr 2016 15:40:48 +0000 (15:40 +0000)
commit7cbe7b1e867db9001db35ca41ee3e4a3b0de31c7
tree1227bc9e93eff0f78ff8d7ea4e5c21f6f40e8fef
parent7f5a063d157c777d8e78a567fc9538929bfd38f5
runtime/internal/atomic: add s390x atomic operations

Load and store instructions are atomic on the s390x.

Change-Id: I0031ed2fba43f33863bca114d0fdec2e7d1ce807
Reviewed-on: https://go-review.googlesource.com/20938
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/runtime/internal/atomic/asm_s390x.s [new file with mode: 0644]
src/runtime/internal/atomic/atomic_s390x.go [new file with mode: 0644]