diff options
| author | Lynn Boger <laboger@linux.vnet.ibm.com> | 2017-09-19 17:36:57 -0400 |
|---|---|---|
| committer | Lynn Boger <laboger@linux.vnet.ibm.com> | 2017-09-26 14:06:06 +0000 |
| commit | 3fda3765b8691de51d62ef6d68ce772f4eb0c601 (patch) | |
| tree | 76184ff179d5d0ec6ed3296cc5f40ee7fdcf0047 /src/cmd/nm | |
| parent | 8e2d90dca8b5da00bf29cc6076b6b5a80aac7106 (diff) | |
| download | go-3fda3765b8691de51d62ef6d68ce772f4eb0c601.tar.xz | |
cmd/compile: fix regression in PPC64.rules move zero
When a MOVDstorezero (8 bytes) is used the offset field
in the instruction must be a multiple of 4. This situation
had been corrected in the rules for other types of stores
but not for the zero case.
This also removes some of the special MOVDstorezero cases since
they can be handled by the general LowerZero case.
Updates made to the ssa test for lowering zero moves to
include cases where the target is not aligned to at least 4.
Fixes #21947
Change-Id: I7cceceb1be4898c77cd3b5e78b58dce0a7e28edd
Reviewed-on: https://go-review.googlesource.com/64970
Run-TryBot: Lynn Boger <laboger@linux.vnet.ibm.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Diffstat (limited to 'src/cmd/nm')
0 files changed, 0 insertions, 0 deletions
