]> Cypherpunks repositories - gostls13.git/commit
cmd/asm: fix element size encoding for VSUMQ instruction on s390x
authorMichael Munday <mike.munday@ibm.com>
Mon, 7 Oct 2019 21:37:44 +0000 (14:37 -0700)
committerMichael Munday <mike.munday@ibm.com>
Wed, 9 Oct 2019 14:45:09 +0000 (14:45 +0000)
commitff86ce13b69f427248203493d669a730988f882c
treea4fa77d4d142f2e2090b5fd57dbf66692c77e8be
parent421d35cf69f4a18edf96004ba99c01e629a0f79f
cmd/asm: fix element size encoding for VSUMQ instruction on s390x

The element size for VSUMQF and VSUMQG was off by one. Fix this
and add tests for VSUM* instruction encodings.

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