Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(161)

Issue 10913285: Switch NaCl code to use GCC intrinsics for atomic ops. (Closed)

Created:
8 years, 3 months ago by petarj
Modified:
8 years, 3 months ago
CC:
native-client-reviews_googlegroups.com
Base URL:
http://src.chromium.org/native_client/trunk/src/native_client/
Visibility:
Public.

Description

Switch NaCl code to use GCC intrinsics for atomic ops. Cleanup change to switch NaCl code to use GCC instrinsics. BUG= none TEST= compiles on all platforms Committed: http://src.chromium.org/viewvc/native_client?view=rev&revision=9750

Patch Set 1 #

Patch Set 2 : Use nacl/atomic_ops.h. #

Total comments: 4

Patch Set 3 : Rename the file and correct #ifdef. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -195 lines) Patch
M src/include/atomic_ops.h View 1 2 1 chunk +2 lines, -12 lines 0 comments Download
A + src/include/gcc/atomic_ops.h View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
D src/include/linux/arm/atomic_ops.h View 1 chunk +0 lines, -81 lines 0 comments Download
D src/include/linux/x86/atomic_ops.h View 1 chunk +0 lines, -73 lines 0 comments Download
D src/include/nacl/atomic_ops.h View 1 2 1 chunk +0 lines, -30 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
petarj
8 years, 3 months ago (2012-09-14 23:12:42 UTC) #1
Roland McGrath
include/nacl/atomic_ops.h is already based on GCC intrinsics. So you should just rename that and use ...
8 years, 3 months ago (2012-09-15 01:07:01 UTC) #2
petarj
On 2012/09/15 01:07:01, Roland McGrath wrote: > include/nacl/atomic_ops.h is already based on GCC intrinsics. > ...
8 years, 3 months ago (2012-09-15 01:25:52 UTC) #3
Mark Seaborn
Please make the changes below and this will be good. Thanks for doing this cleanup! ...
8 years, 3 months ago (2012-09-15 02:53:51 UTC) #4
petarj
http://codereview.chromium.org/10913285/diff/4001/src/include/atomic_ops.h File src/include/atomic_ops.h (right): http://codereview.chromium.org/10913285/diff/4001/src/include/atomic_ops.h#newcode44 src/include/atomic_ops.h:44: #if defined(__native_client__) || defined(NACL_LINUX) On 2012/09/15 02:53:51, Mark Seaborn ...
8 years, 3 months ago (2012-09-15 23:13:17 UTC) #5
Mark Seaborn
LGTM
8 years, 3 months ago (2012-09-15 23:25:06 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://nativeclient-status.appspot.com/cq/petarj@mips.com/10913285/2002
8 years, 3 months ago (2012-09-15 23:54:39 UTC) #7
commit-bot: I haz the power
8 years, 3 months ago (2012-09-16 01:14:47 UTC) #8
Change committed as 9750

Powered by Google App Engine
This is Rietveld 408576698