aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/plugin.go
diff options
context:
space:
mode:
authorMichael Munday <munday@ca.ibm.com>2016-10-07 12:16:26 -0400
committerDavid Chase <drchase@google.com>2016-11-01 15:44:44 +0000
commit807a7ebd5107b44ca93849f2b12b61bc4cacca10 (patch)
tree6048a6c960aa1917b8fbfa5a6be3ae98db5debf0 /src/runtime/plugin.go
parentd7b34d5f29324d77fad572676f0ea139556235e0 (diff)
downloadgo-807a7ebd5107b44ca93849f2b12b61bc4cacca10.tar.xz
cmd/compile: improve s390x rules for folding ADDconst into loads/stores
There is no benefit to folding ADDconsts unless the resultant immediate will fit into a 20-bit signed integer, so limit these rules accordingly. Also the signed load operations were missing, so I've added them, and I've also removed some MOVDaddr rules that were dead code (MOVDaddrs are rematerializable on s390x which means they can't take inputs other than SP or SB). Change-Id: Iebeba78da37d3d71d32d4b7f49fe4ea9095d40ec Reviewed-on: https://go-review.googlesource.com/30616 Run-TryBot: Michael Munday <munday@ca.ibm.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Keith Randall <khr@golang.org> Reviewed-by: David Chase <drchase@google.com>
Diffstat (limited to 'src/runtime/plugin.go')
0 files changed, 0 insertions, 0 deletions