]> Cypherpunks repositories - gostls13.git/commit
cmd/asm: fix parsing of the s390x instructions VSTE{G,F,H,B}
authorMichael Munday <munday@ca.ibm.com>
Mon, 28 Nov 2016 16:41:48 +0000 (11:41 -0500)
committerMichael Munday <munday@ca.ibm.com>
Mon, 28 Nov 2016 18:33:23 +0000 (18:33 +0000)
commitbeec631c4c6a26fc7011d9f3be2b9aaa52b39ad2
tree86352c6f646421293cab8d496e9bd6c35b006cae
parent25a81e77c22af89cb40f374e77167f0efb3fd95e
cmd/asm: fix parsing of the s390x instructions VSTE{G,F,H,B}

The element index needs to be placed in From3. Before this CL it
was impossible to write a VSTE instruction that could be
successfully parsed, so this won't affect existing assembly code.

Fixes #18075.

Change-Id: I5b71be4c6632b1d5a30820a529122f96fd1bc864
Reviewed-on: https://go-review.googlesource.com/33584
Run-TryBot: Michael Munday <munday@ca.ibm.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Bill O'Farrell <billotosyr@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/asm/internal/arch/s390x.go
src/cmd/asm/internal/asm/testdata/s390x.s