aboutsummaryrefslogtreecommitdiff
path: root/src/math
diff options
context:
space:
mode:
authorCherry Mui <cherryyz@google.com>2021-06-15 12:47:57 -0400
committerCherry Mui <cherryyz@google.com>2021-06-16 14:23:50 +0000
commita6a853f94cf00d8f581d0e6fbcc28898e39557b2 (patch)
tree8525e8279a3a069c0eb59d206cf2a2f4342ff39b /src/math
parent785a8f677fbba9432ee67b14d41004ba7fd35ddb (diff)
downloadgo-a6a853f94cf00d8f581d0e6fbcc28898e39557b2.tar.xz
cmd/asm: restore supporting of *1 scaling on ARM64
On ARM64, instruction like "MOVD (R1)(R2*1), R3" is accepted and assembles correctly with Go 1.16, but errors out on tip with "arm64 doesn't support scaled register format", since CL 289589. "MOVD (R1)(R2), R3" is the preferred form. But the *1 form works before and assembles correctly. Keep supporting it. Fixes #46766. Change-Id: I0f7fd71fa87ea698919a936b6c68aa5a91afd486 Reviewed-on: https://go-review.googlesource.com/c/go/+/328229 Trust: Cherry Mui <cherryyz@google.com> Trust: Cuong Manh Le <cuong.manhle.vn@gmail.com> Run-TryBot: Cherry Mui <cherryyz@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: eric fang <eric.fang@arm.com>
Diffstat (limited to 'src/math')
0 files changed, 0 insertions, 0 deletions