]> Cypherpunks repositories - gostls13.git/commit
[dev.ssa] cmd/compile: respect stack slot width when storing/loading registers
authorJosh Bleecher Snyder <josharian@gmail.com>
Fri, 24 Jul 2015 21:51:51 +0000 (14:51 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Mon, 27 Jul 2015 17:22:29 +0000 (17:22 +0000)
commit0bb2a50a55b15b7a9ea63cfa55a29e13ef29b542
treec0ef30a3a426ddf9095fd8a365e80839fc415979
parentdb5232620a1722ae1bcdf5f0d8cd15ba0bac2077
[dev.ssa] cmd/compile: respect stack slot width when storing/loading registers

Prior to this, we were smashing our own stack,
which caused the crypto/sha256 tests to fail.

Change-Id: I7dd94cf466d175b3be0cd65f9c4fe8b1223081fe
Reviewed-on: https://go-review.googlesource.com/12660
Reviewed-by: Daniel Morsing <daniel.morsing@gmail.com>
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/gc/ssa.go
src/cmd/compile/internal/ssa/gen/genericOps.go
src/cmd/compile/internal/ssa/opGen.go
src/cmd/compile/internal/ssa/regalloc.go