]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: fix load-combining
authorKeith Randall <khr@golang.org>
Tue, 15 Mar 2016 18:08:03 +0000 (11:08 -0700)
committerKeith Randall <khr@golang.org>
Tue, 15 Mar 2016 19:18:13 +0000 (19:18 +0000)
commit41f9f6f47118d8c2546a1534240e0eca6baa1829
treea661d47aafa0a524ff5373b3b3ee2b141dfff1a3
parentad4410d40b6479493db4dff6c24a0c907d53c70a
cmd/compile: fix load-combining

Make sure symbol gets carried along by load-combining rule.
Add the new load into the right block where we know that
mem is live.

Use auxInt field to carry i along instead of an explicit ADDQ.

Incorporate LEA ops into MOVBQZX and friends.

Change-Id: I587f7c6120b98fd2a0d48ddd6ddd13345d4421b4
Reviewed-on: https://go-review.googlesource.com/20732
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Todd Neal <todd@tneal.org>
src/cmd/compile/internal/gc/testdata/arith_ssa.go
src/cmd/compile/internal/ssa/gen/AMD64.rules
src/cmd/compile/internal/ssa/rewriteAMD64.go