]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: for arm, zero unaligned memory 1 byte at a time
authorKeith Randall <khr@golang.org>
Tue, 31 May 2016 21:55:12 +0000 (14:55 -0700)
committerKeith Randall <khr@golang.org>
Wed, 1 Jun 2016 14:14:13 +0000 (14:14 +0000)
commit52fe47247217f5126dacc5a8c8e80b85d2fb25c6
tree3e5d3d6aaa34e068ba9bfa31ff77490e686ab569
parente29e0ba19af26c30c95b59aeda482e60ae594113
cmd/compile: for arm, zero unaligned memory 1 byte at a time

If memory might be unaligned, zero it one byte at a time
instead of 4 bytes at a time.

Fixes #15902

Change-Id: I4eff0840e042e2f137c1a4028f08793eb7dfd703
Reviewed-on: https://go-review.googlesource.com/23587
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Minux Ma <minux@golang.org>
src/cmd/compile/internal/arm/ggen.go
test/fixedbugs/issue15902.go [new file with mode: 0644]