aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/sys_linux_arm.s
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2015-03-02 20:17:20 -0800
committerRob Pike <r@golang.org>2015-03-03 17:06:27 +0000
commit74e88dfdeebef392d52d3f792e2071b058c1e231 (patch)
treee066ac4bde456ffd50b2ecaf402020056f97653c /src/runtime/sys_linux_arm.s
parent91e7ca588d07b8e04e9608c4436d2d701f6c59d0 (diff)
downloadgo-74e88dfdeebef392d52d3f792e2071b058c1e231.tar.xz
cmd/internal/obj: switch to one global Aconv
Aconv is the pretty-printer for instruction opcodes like AMOVQ. There was one for each architecture. Make the space of A names have a different region for each architecture, much as we did for the registers, so a single global Aconv function can do the work. Each architecture registers its region as a slice of names at a given offset. The global names like CALL and JMP are now defined only once. The A values are used for indexing tables, so make it easy to do the indexing by making the offset maskable. Remove a bunch of now-duplicated architecture-specific code. Change-Id: Ib15647b7145a1c089e21e36543691a19e146b60e Reviewed-on: https://go-review.googlesource.com/6620 Reviewed-by: Russ Cox <rsc@golang.org> Run-TryBot: Rob Pike <r@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/runtime/sys_linux_arm.s')
0 files changed, 0 insertions, 0 deletions