aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRuixin Bao <ruixin.bao@ibm.com>2020-12-09 13:55:37 -0800
committerKeith Randall <khr@golang.org>2020-12-14 17:17:59 +0000
commita58be734eacd832be27a021b8ffac323061212f2 (patch)
tree79674651136f657a18ba4ea88e6db17d64ede4ce /test
parent64d8846aaef4b64d2649917581069c0ec30ca561 (diff)
downloadgo-a58be734eacd832be27a021b8ffac323061212f2.tar.gz
go-a58be734eacd832be27a021b8ffac323061212f2.zip
cmd/compile: fix incorrect shift count type with s390x rules
The type of the shift count must be an unsigned integer. Some s390x rules for shift have their auxint type being int8. This results in a compilation failure on s390x with an invalid operation when running make.bash using older versions of go (e.g: go1.10.4). This CL adds an auxint type of uint8 and changes the ops for shift and rotate to use auxint with type uint8. The related rules are also modified to address this change. Fixes #43090 Change-Id: I594274b6e3d9b23092fc9e9f4b354870164f2f19 Reviewed-on: https://go-review.googlesource.com/c/go/+/277078 Reviewed-by: Keith Randall <khr@golang.org> Trust: Dmitri Shuralyov <dmitshur@golang.org>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions