• Rob Pike's avatar
    cmd/internal/obj: switch to one global Aconv · 74e88dfd
    Rob Pike authored
    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/6620Reviewed-by: 's avatarRuss Cox <rsc@golang.org>
    Run-TryBot: Rob Pike <r@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    74e88dfd
Name
Last commit
Last update
..
5g Loading commit data...
5l Loading commit data...
6g Loading commit data...
6l Loading commit data...
8g Loading commit data...
8l Loading commit data...
9g Loading commit data...
9l Loading commit data...
addr2line Loading commit data...
api Loading commit data...
asm Loading commit data...
cgo Loading commit data...
dist Loading commit data...
fix Loading commit data...
go Loading commit data...
gofmt Loading commit data...
internal Loading commit data...
link Loading commit data...
nm Loading commit data...
objdump Loading commit data...
old5a Loading commit data...
old6a Loading commit data...
old8a Loading commit data...
old9a Loading commit data...
pack Loading commit data...
pprof Loading commit data...
trace Loading commit data...
yacc Loading commit data...