]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: redo flag constant ops for arm64
authorKeith Randall <khr@golang.org>
Tue, 16 Jun 2020 05:52:56 +0000 (22:52 -0700)
committerKeith Randall <khr@golang.org>
Thu, 18 Jun 2020 20:58:26 +0000 (20:58 +0000)
commita07e28194a05800215efe192d2ff840f339924f0
treef8ba61d18ba9619f41133b3007232f3f00900622
parent40ef1faabc44ab8ea28a1cf282ecab723ecb0394
cmd/compile: redo flag constant ops for arm64

Fixes the *noov opcodes so they handle a constant argument properly.

Most of the infrastructure for this CL is in CL 238077 (the arm32 one).

Fixes #39505

Change-Id: Id424a4e18964b848f05aa42f4d78e5f2e2cdf43b
Reviewed-on: https://go-review.googlesource.com/c/go/+/237999
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/compile/internal/arm64/ssa.go
src/cmd/compile/internal/ssa/gen/ARM.rules
src/cmd/compile/internal/ssa/gen/ARM64.rules
src/cmd/compile/internal/ssa/gen/ARM64Ops.go
src/cmd/compile/internal/ssa/opGen.go
src/cmd/compile/internal/ssa/rewrite.go
src/cmd/compile/internal/ssa/rewriteARM64.go