]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: store the comparison pseudo-ops of arm64 conditional instructions in...
authorfanzha02 <fannie.zhang@arm.com>
Thu, 27 Aug 2020 09:34:59 +0000 (17:34 +0800)
committerKeith Randall <khr@golang.org>
Thu, 3 Sep 2020 14:45:27 +0000 (14:45 +0000)
commitae658cb19a265f3f4694cd4aec508b4565bda6aa
tree8c6fdaa2dd0938cb4d0e89e83013031c85f572f9
parenta538b59fd2428ba4d13f296d7483febf2fc05f97
cmd/compile: store the comparison pseudo-ops of arm64 conditional instructions in AuxInt

The current implementation stores the comparison pseudo-ops of arm64
conditional instructions (CSEL/CSEL0) in Aux, this patch modifies it
and stores it in AuxInt, which can avoid the allocation.

Change-Id: I0b69e51f63acd84c6878c6a59ccf6417501a8cfc
Reviewed-on: https://go-review.googlesource.com/c/go/+/252517
Run-TryBot: fannie zhang <Fannie.Zhang@arm.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/arm64/ssa.go
src/cmd/compile/internal/ssa/check.go
src/cmd/compile/internal/ssa/gen/ARM64.rules
src/cmd/compile/internal/ssa/gen/ARM64Ops.go
src/cmd/compile/internal/ssa/gen/rulegen.go
src/cmd/compile/internal/ssa/rewrite.go
src/cmd/compile/internal/ssa/rewriteARM64.go
src/cmd/compile/internal/ssa/value.go