]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: add dedicated ARM64BitField aux type
authorJosh Bleecher Snyder <josharian@gmail.com>
Tue, 18 Feb 2020 01:47:34 +0000 (17:47 -0800)
committerJosh Bleecher Snyder <josharian@gmail.com>
Fri, 28 Feb 2020 14:52:13 +0000 (14:52 +0000)
commit2cf3ebaf3db5b23a56e2ee62ecd76748dfbb5b8e
tree30cba46e046426f7c9937df9cd189fbc1a4aab7f
parent8955a56da015890f317d5f6919391503b854d93a
cmd/compile: add dedicated ARM64BitField aux type

The goal here is improved AuxInt printing in ssa.html.
Instead of displaying an inscrutable encoded integer,
it displays something like

v25 (28) = UBFX <int> [lsb=4,width=8] v52

which is much nicer for debugging.

Change-Id: I40713ff7f4a857c4557486cdf73c2dff137511ca
Reviewed-on: https://go-review.googlesource.com/c/go/+/221420
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/compile/internal/ssa/check.go
src/cmd/compile/internal/ssa/gen/ARM64Ops.go
src/cmd/compile/internal/ssa/gen/rulegen.go
src/cmd/compile/internal/ssa/op.go
src/cmd/compile/internal/ssa/opGen.go
src/cmd/compile/internal/ssa/value.go