]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/arm64: tidy literal pool
authoreric fang <eric.fang@arm.com>
Mon, 8 Aug 2022 07:42:43 +0000 (07:42 +0000)
committerEric Fang <eric.fang@arm.com>
Fri, 18 Nov 2022 08:04:52 +0000 (08:04 +0000)
commit205f636e0ab491b7a06e7b7879abb897cdaaf1b4
tree2166f22167a9b6b6d346660c936abba764ba0227
parente4435cb8448514d2413f9d9aa3ee40738d26fd67
cmd/internal/obj/arm64: tidy literal pool

This CL cleans up the literal pool implementation and inserts an UNDEF
instruction before the literal pool if the last instruction of the
function is not an unconditional jump instruction, RET or ERET
instruction.

Change-Id: Ifecb9e3372478362dde246c1bc9bc8d527a469d5
Reviewed-on: https://go-review.googlesource.com/c/go/+/424134
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Joedian Reid <joedian@golang.org>
Run-TryBot: Eric Fang <eric.fang@arm.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/internal/obj/arm64/asm7.go