commit | 69cb8fef43aba1d133d093c4617c5711c1b5a20b | [log] [tgz] |
---|---|---|
author | Russ Cox <rsc@golang.org> | Thu Jun 02 13:13:51 2011 -0400 |
committer | Russ Cox <rsc@golang.org> | Thu Jun 02 13:13:51 2011 -0400 |
tree | 686bec8e28d1f2892aeec60b7303b989c6fc8cd0 | |
parent | f3c351982fc2a9940f7ec831db48569b56f0a035 [diff] |
sync/atomic: fix check64 The LDREXD and STREXD instructions require aligned addresses, and the ARM stack is not guaranteed to be aligned during the check. This may cause other problems later (on the ARM not all 64-bit pointers may be 64-bit aligned) but at least the check is correct now. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/4564053