diff options
| author | Alexander Musman <alexander.musman@gmail.com> | 2026-01-18 20:07:50 +0300 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2026-02-27 12:41:17 -0800 |
| commit | f2633386e0d2f692b4363134626f472fc95b9858 (patch) | |
| tree | 49ce347d022e16c584c3830484747baa1b864f14 /src/runtime/string.go | |
| parent | 62a1da372a2bfeb29644246ff0f61dc048bb912c (diff) | |
| download | go-f2633386e0d2f692b4363134626f472fc95b9858.tar.xz | |
cmd/internal/obj: arm64 assembler support unshifted hi for large offsets
Extend splitImm24uScaled to support an unshifted hi value (hi <= 0xfff)
in addition to the shifted hi value (hi & ^0xfff000 == 0). This allows
load/store instructions to handle more offsets using ADD + load/store
sequences instead of falling back to the literal pool.
This will be used by a subsequent change to add FMOVQ support in SSA form.
Change-Id: I78490f5b1a60d49c1d42ad4daefb5d4e6021c965
Reviewed-on: https://go-review.googlesource.com/c/go/+/737320
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
Auto-Submit: Keith Randall <khr@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: David Chase <drchase@google.com>
Diffstat (limited to 'src/runtime/string.go')
0 files changed, 0 insertions, 0 deletions
