go/src/cmd
Joel Sing 208fc13245 cmd/internal/obj/arm64: avoid unnecessary literal pool usage for moves
In a number of load and store cases, the use of the literal pool can be
entirely avoided by simply adding or subtracting the offset from the
register. This uses the same number of instructions, while avoiding a
load from memory, along with the need for the value to be in the literal
pool. Overall this reduces the size of binaries slightly and should have
lower overhead.

Updates #59615

Change-Id: I9cb6a403dc71e34a46af913f5db87dbf52f8688c
Reviewed-on: https://go-review.googlesource.com/c/go/+/512539
Reviewed-by: David Chase <drchase@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Run-TryBot: Joel Sing <joel@sing.id.au>
2023-07-31 16:38:47 +00:00
..
addr2line
api cmd/api: skip TestIssue29837 when -short is set 2023-06-15 05:42:15 +00:00
asm cmd/internal/obj/arm64: avoid unnecessary literal pool usage for moves 2023-07-31 16:38:47 +00:00
buildid
cgo syscall, cmd/cgo: skip tests that shouldn't run under 'unshare -n -r' 2023-07-28 21:31:41 +00:00
compile cmd/compile: intrinsify Sub64 on mips64 2023-07-31 03:59:48 +00:00
covdata cmd/covdata: format package comment for 'go doc' rendering 2023-07-14 12:49:10 +00:00
cover cmd/{go,cover}: enable response file args for cmd/cover 2023-06-22 18:36:44 +00:00
dist cmd/dist: update isUnsupportedVMASize test skip 2023-07-28 22:09:45 +00:00
distpack cmd/distpack: sort files in standard walk order 2023-07-26 19:28:08 +00:00
doc
fix
go all: use built-in clear to clear maps 2023-07-27 22:07:13 +00:00
gofmt all: use built-in clear to clear maps 2023-07-27 22:07:13 +00:00
internal cmd/internal/obj/arm64: avoid unnecessary literal pool usage for moves 2023-07-31 16:38:47 +00:00
link cmd/link: sort HOSTOBJ and UNDEFEXT symbols with undefined symbols in Mach-O symbol table 2023-07-27 19:08:00 +00:00
nm
objdump
pack
pprof
test2json
tools
trace all: fix spelling errors 2023-06-14 00:03:57 +00:00
vendor all: update vendored dependencies 2023-07-12 20:38:21 +00:00
vet
README.vendor
go.mod all: update go.mod go version to 1.22 2023-07-18 21:24:24 +00:00
go.sum all: update vendored dependencies 2023-07-12 20:38:21 +00:00

README.vendor

See src/README.vendor for information on loading vendored packages
and updating the vendor directory.