Commit 0636d88f authored by fanzha02's avatar fanzha02 Committed by fannie zhang
Browse files

cmd/compile: add restrictions on the shift amount range of arm64 various instructions

For arm64 constant shift instructions, e.g., LSL(immediate), they use
only the low 6 bits. To conform the semantics of the hardware instructions,
this CL comments in ARM64OPS.go about restricted AuxInt ranges for the
various instructions involved.

Change-Id: I2b6560d6580e22ba7cbfa744a02b046dd5714b8a
Reviewed-on: https://go-review.googlesource.com/c/go/+/303569


Trust: fannie zhang <Fannie.Zhang@arm.com>
Reviewed-by: default avatarKeith Randall <khr@golang.org>
parent 02a8e836
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment