]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.10] cmd/compile: mark LAA and LAAG as clobbering flags on s390x
authorMichael Munday <mike.munday@ibm.com>
Mon, 19 Mar 2018 17:11:16 +0000 (13:11 -0400)
committerAndrew Bonventre <andybons@golang.org>
Thu, 29 Mar 2018 06:08:34 +0000 (06:08 +0000)
commit4e19a5498d82ad49b4a5b3de2032bcb341211458
tree188d9ceba7accd3ebc0028c84394d786508a9631
parentdf9d6204b92c6cba7b0b2104b570f20956dd6568
[release-branch.go1.10] cmd/compile: mark LAA and LAAG as clobbering flags on s390x

The atomic add instructions modify the condition code and so need to
be marked as clobbering flags.

Fixes #24449.

Change-Id: Ic69c8d775fbdbfb2a56c5e0cfca7a49c0d7f6897
Reviewed-on: https://go-review.googlesource.com/101455
Run-TryBot: Michael Munday <mike.munday@ibm.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-on: https://go-review.googlesource.com/102788
Run-TryBot: Andrew Bonventre <andybons@golang.org>
Reviewed-by: Michael Munday <mike.munday@ibm.com>
src/cmd/compile/internal/ssa/gen/S390XOps.go
src/cmd/compile/internal/ssa/opGen.go
test/fixedbugs/issue24449.go [new file with mode: 0644]