diff options
| author | Elias Naur <elias.naur@gmail.com> | 2017-10-01 12:51:54 +0200 |
|---|---|---|
| committer | Elias Naur <elias.naur@gmail.com> | 2017-10-02 09:57:23 +0000 |
| commit | 9735fcfce78360eeaaa62fb44bd597f7b85ff429 (patch) | |
| tree | 778f8393fe9c39a4c34aff9f6c1d8755480a44e8 /src/cmd | |
| parent | f2af0c178099c0d785efe3b6f5f2282277f9ee9c (diff) | |
| download | go-9735fcfce78360eeaaa62fb44bd597f7b85ff429.tar.xz | |
sync/atomic: add memory barriers to Load/StoreInt32 on darwin/arm
After switching to an iPhone 5 for the darwin/arm builds,
TestStoreLoadRelAcq32 started to timeout on every builder run.
Adding the same memory barriers as armLoadUint64 and armStoreUint64
makes the test complete successfully.
Fixes sync/atomic tests on the darwin/arm builder.
Change-Id: Id73de31679304e259bdbd7f2f94383ae7fd70ee4
Reviewed-on: https://go-review.googlesource.com/67390
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Dmitry Vyukov <dvyukov@google.com>
Diffstat (limited to 'src/cmd')
0 files changed, 0 insertions, 0 deletions
