]> Cypherpunks repositories - gostls13.git/commit
[dev.regabi] cmd/asm: define g register on AMD64
authorCherry Zhang <cherryyz@google.com>
Wed, 3 Feb 2021 17:09:53 +0000 (12:09 -0500)
committerCherry Zhang <cherryyz@google.com>
Fri, 5 Feb 2021 17:34:26 +0000 (17:34 +0000)
commit397a46a10a2cc8557e965af269915909cb5c0a80
tree285cde51d18c540fadcec4bf13c9f28c1c6b8b09
parente79c2fd428372f64e6183bed9f765c1556816111
[dev.regabi] cmd/asm: define g register on AMD64

Define g register as R14 on AMD64. It is not used now, but will
be in later CLs.

The name "R14" is still recognized.

Change-Id: I9a066b15bf1051113db8c6640605e350cea397b9
Reviewed-on: https://go-review.googlesource.com/c/go/+/289195
Trust: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/asm/internal/arch/arch.go
src/cmd/asm/internal/asm/operand_test.go
src/cmd/internal/obj/x86/a.out.go