]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: split up the addressing mode on OpAMD64CMP*loadidx* always
authorDavid Chase <drchase@google.com>
Mon, 13 Apr 2020 16:49:59 +0000 (12:49 -0400)
committerDavid Chase <drchase@google.com>
Wed, 15 Apr 2020 18:09:14 +0000 (18:09 +0000)
commite4e192484b1fd28ba2e77e52004d924b24f1bb19
tree3e497b2a9be70b54190a2a19e3b73c8561afeb27
parent813f8eae2738c75151d036906a9008525c1ba0fe
cmd/compile: split up the addressing mode on OpAMD64CMP*loadidx* always

Benchmarking suggests that the combo instruction is notably slower,
at least in the places where we measure.

Updates #37955

Change-Id: I829f1975dd6edf38163128ba51d84604055512f4
Reviewed-on: https://go-review.googlesource.com/c/go/+/228157
Run-TryBot: David Chase <drchase@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/ssa/addressingmodes.go
src/cmd/compile/internal/ssa/gen/AMD64splitload.rules
test/codegen/memops.go