diff options
| author | Than McIntosh <thanm@google.com> | 2020-11-24 18:10:11 -0500 |
|---|---|---|
| committer | Than McIntosh <thanm@google.com> | 2020-12-14 17:34:36 +0000 |
| commit | 89f38323faa57d3f7475016f778be69fcffbe9fb (patch) | |
| tree | 5ddbce6f17d901518826f9a182e268dd0fd69e8b /src/cmd/compile/fmtmap_test.go | |
| parent | 8ce37e4110316030159972e17c67152e8f8e9359 (diff) | |
| download | go-89f38323faa57d3f7475016f778be69fcffbe9fb.tar.xz | |
[dev.regabi] cmd/compile: add register ABI analysis utilities
Introduce a new utility routine for analyzing a given function
signature to how its various input and output parameters will be
passed (in registers or on the stack) for a given ABI description,
along with some unit tests.
Change-Id: Id64a98a0a142e42dd9c2dc9f6607c0d827ef84fb
Reviewed-on: https://go-review.googlesource.com/c/go/+/273011
Run-TryBot: Than McIntosh <thanm@google.com>
Reviewed-by: Jeremy Faller <jeremy@golang.org>
Trust: Than McIntosh <thanm@google.com>
Diffstat (limited to 'src/cmd/compile/fmtmap_test.go')
| -rw-r--r-- | src/cmd/compile/fmtmap_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/compile/fmtmap_test.go b/src/cmd/compile/fmtmap_test.go index e62b9613e1..9bc059c2e4 100644 --- a/src/cmd/compile/fmtmap_test.go +++ b/src/cmd/compile/fmtmap_test.go @@ -36,6 +36,7 @@ var knownFormats = map[string]string{ "*math/big.Int %s": "", "[]cmd/compile/internal/syntax.token %s": "", "cmd/compile/internal/arm.shift %d": "", + "cmd/compile/internal/gc.RegIndex %d": "", "cmd/compile/internal/gc.initKind %d": "", "cmd/compile/internal/ir.Class %d": "", "cmd/compile/internal/ir.Node %+v": "", |
