diff options
| author | Keith Randall <khr@golang.org> | 2020-05-07 15:16:25 -0700 |
|---|---|---|
| committer | Keith Randall <khr@golang.org> | 2020-05-11 15:33:30 +0000 |
| commit | daf39d06ee04414fa962aa61fd0e7bc4ee166bfd (patch) | |
| tree | 3d33672daf9e4d822e097080b9ffa59401278f61 /test/codegen/arithmetic.go | |
| parent | d40b0a1494cc3b717207ce822d01d0f180627a3f (diff) | |
| download | go-daf39d06ee04414fa962aa61fd0e7bc4ee166bfd.tar.xz | |
cmd/compile: restrict ppc64 constant shifts to amount 0-63
... and 0-31 for 32-bit shifts.
Generally update the docs for ppc64 shift instructions to be
clearer about what they actually do.
This issue is causing problems for the subsequent CL. The shift
amount was <0 and caused the assembler to report an invalid instruction.
Change-Id: I8c708a15e7f71931835e6e543d8db3c716186e52
Reviewed-on: https://go-review.googlesource.com/c/go/+/232858
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Lynn Boger <laboger@linux.vnet.ibm.com>
Diffstat (limited to 'test/codegen/arithmetic.go')
0 files changed, 0 insertions, 0 deletions
