Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(87)

Issue 4782042: code review 4782042: sync/atomic: fix LoadInt32 on ARM (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 8 months ago by dvyukov
Modified:
14 years, 8 months ago
Reviewers:
CC:
golang-dev
Visibility:
Public.

Description

sync/atomic: fix LoadInt32 on ARM R0 is clobbered after cas, while R1 preserves its value.

Patch Set 1 #

Patch Set 2 : diff -r f7c898383887 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r f7c898383887 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M src/pkg/sync/atomic/asm_linux_arm.s View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4
dvyukov
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
14 years, 8 months ago (2011-07-19 12:06:23 UTC) #1
dvyukov
The code is also untested :( May somebody test it on an ARM device?
14 years, 8 months ago (2011-07-19 12:08:53 UTC) #2
r
LGTM
14 years, 8 months ago (2011-07-19 12:08:53 UTC) #3
r
14 years, 8 months ago (2011-07-19 12:10:14 UTC) #4
*** Submitted as http://code.google.com/p/go/source/detail?r=e5d2a3b18f7c ***

sync/atomic: fix LoadInt32 on ARM
R0 is clobbered after cas,
while R1 preserves its value.

R=golang-dev
CC=golang-dev
http://codereview.appspot.com/4782042

Committer: Rob Pike <r@golang.org>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b