]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: mark s390x int <-> float conversions as clobbering flags
authorMichael Munday <mike.munday@ibm.com>
Thu, 18 Jun 2020 12:25:07 +0000 (05:25 -0700)
committerMichael Munday <mike.munday@ibm.com>
Thu, 18 Jun 2020 16:36:16 +0000 (16:36 +0000)
commit377c1536f548ae6295699475683db7574bea3d51
tree2d6f7ae735288b5f5e824e8255a5b3f6a11fbea9
parent4379fa1740b24c610849f597f9ca13711e1bf455
cmd/compile: mark s390x int <-> float conversions as clobbering flags

These conversion instructions set the condition code and so should
be marked as clobbering flags.

Fixes #39651.

Change-Id: I91cc9687ea70ef0551bb3139c1875071c349d43e
Reviewed-on: https://go-review.googlesource.com/c/go/+/238628
Run-TryBot: Michael Munday <mike.munday@ibm.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/compile/internal/ssa/gen/S390XOps.go
src/cmd/compile/internal/ssa/opGen.go
test/fixedbugs/issue39651.go [new file with mode: 0644]