]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/internal/obj/s390x: fix SYNC instruction encoding
authorMichael Munday <mike.munday@ibm.com>
Tue, 10 Nov 2020 10:31:28 +0000 (02:31 -0800)
committerMichael Munday <mike.munday@ibm.com>
Tue, 10 Nov 2020 15:48:04 +0000 (15:48 +0000)
commit189931296f6b56090d9d7f49b7936b817189d87d
tree3d5b4b652ea2947f2e309e6f54eb2ae371a7ec01
parent81322b919198ce17d990762a8823e8db46435792
cmd/internal/obj/s390x: fix SYNC instruction encoding

SYNC is supposed to correspond to 'fast-BCR-serialization' which is
encoded as 'bcr 14,0'. In CL 197178 I accidentally modified the
encoding to 'bcr 7,0' which is a no-op. This CL reverses that change.

Fixes #42479.

Change-Id: I9918d93d720f5e12acc3014cde20d2d32cc87ee5
Reviewed-on: https://go-review.googlesource.com/c/go/+/268797
Run-TryBot: Michael Munday <mike.munday@ibm.com>
Trust: Michael Munday <mike.munday@ibm.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/asm/internal/asm/testdata/s390x.s
src/cmd/internal/obj/s390x/asmz.go