]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj: print g for the g register on arm and ppc64
authorRob Pike <r@golang.org>
Tue, 3 Mar 2015 17:14:31 +0000 (09:14 -0800)
committerRob Pike <r@golang.org>
Wed, 4 Mar 2015 00:00:51 +0000 (00:00 +0000)
commitf05f273525e7547d5dd4ee17d97f53dd210bde97
treedcc313f34e6138f263caf4a96007fef0e378c6a0
parentd5f690609fd7ffd0d21b27f5a474052839beb0d3
cmd/internal/obj: print g for the g register on arm and ppc64

The name g is an alias for R10 and R30, respectively. Have Rconv
print the alias, for consistency with the input language.

Change-Id: Ic3f40037884a0c8de5089d8c8a8efbcdc38c0d56
Reviewed-on: https://go-review.googlesource.com/6630
Reviewed-by: Minux Ma <minux@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/asm/internal/asm/operand_test.go
src/cmd/internal/obj/arm/list5.go
src/cmd/internal/obj/ppc64/list9.go