]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/amd64: add SETccmem
authorIlya Tocar <ilya.tocar@intel.com>
Tue, 3 Oct 2017 19:12:00 +0000 (14:12 -0500)
committerIlya Tocar <ilya.tocar@intel.com>
Thu, 5 Oct 2017 20:53:28 +0000 (20:53 +0000)
commit6b8a3c88894cdd2f501a6497c1fc5cfd89861a7f
tree0158c37fc63146b4d9f8eb4e6358e22158117ec4
parent91121ff704b937da9268ef0a7fc71c34233bbd1d
cmd/compile/internal/amd64: add SETccmem

Combine setcc and store of result into setcc that writes directly to memory.
Triggers 200+ times in go tool.

Fixes #21630

Change-Id: Iafa22607426f4120140c88fae4b9aecb46e0bba8
Reviewed-on: https://go-review.googlesource.com/67950
Run-TryBot: Ilya Tocar <ilya.tocar@intel.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/amd64/ssa.go
src/cmd/compile/internal/gc/asm_test.go
src/cmd/compile/internal/ssa/gen/AMD64.rules
src/cmd/compile/internal/ssa/gen/AMD64Ops.go
src/cmd/compile/internal/ssa/opGen.go
src/cmd/compile/internal/ssa/rewriteAMD64.go