]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: allow 64-bit multiplication with immediates on s390x
authorMichael Munday <munday@ca.ibm.com>
Sun, 24 Apr 2016 18:37:14 +0000 (14:37 -0400)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 28 Apr 2016 20:27:43 +0000 (20:27 +0000)
commit3c8ef0e0c9c26f15926a396688b0fe8acd4e3dcf
treeadae9e451764f25ba1659862e874ce39f01590f6
parent5fe1b35ed214a8ece13449f5788dd9f5c927379f
cmd/compile: allow 64-bit multiplication with immediates on s390x

MGHI (16-bit signed immediate) is now used where possible for both
MULLW and MULLD. MGHI is 2-bytes shorter than MSGFI.

Change-Id: I5d0648934f28b3403b1126913fd703d8f62b9e9f
Reviewed-on: https://go-review.googlesource.com/22398
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: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/asm/internal/asm/testdata/s390x.s
src/cmd/compile/internal/s390x/gsubr.go
src/cmd/internal/obj/s390x/asmz.go