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

Issue 220793002: ARM64: Fix and improve atomic operations. (Closed)

Created:
6 years, 8 months ago by Alexandre Rames
Modified:
6 years, 8 months ago
CC:
v8-dev
Visibility:
Public.

Description

ARM64: Fix and improve atomic operations. * The 'compare and swap' operations should enforce memory ordering even when the exchange does not occur. * The exclusive monitor does not need to be cleared by CLREX if a LDRX was not followed by a matching STREX. * Use LDAR and STLR where possible. * Use the 'I' and 'J' constraints to hint for constants valid for immediate values. R=jfb@chromium.org, rmcilroy@chromium.org, ulan@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=20446

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix clobber list wrt reordering in barriered versions of the operations. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -97 lines) Patch
M src/atomicops_internals_arm64_gcc.h View 1 15 chunks +56 lines, -97 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
Alexandre Rames
6 years, 8 months ago (2014-04-01 09:53:36 UTC) #1
rmcilroy
Generally looks good to me, one question and adding JFB since he had some comments ...
6 years, 8 months ago (2014-04-01 10:41:19 UTC) #2
Alexandre Rames
https://codereview.chromium.org/220793002/diff/1/src/atomicops_internals_arm64_gcc.h File src/atomicops_internals_arm64_gcc.h (right): https://codereview.chromium.org/220793002/diff/1/src/atomicops_internals_arm64_gcc.h#newcode57 src/atomicops_internals_arm64_gcc.h:57: : [old_value]"IJr" (old_value), On 2014/04/01 10:41:19, rmcilroy wrote: > ...
6 years, 8 months ago (2014-04-01 10:50:55 UTC) #3
jochen (gone - plz use gerrit)
On 2014/04/01 10:50:55, Alexandre Rames wrote: > https://codereview.chromium.org/220793002/diff/1/src/atomicops_internals_arm64_gcc.h > File src/atomicops_internals_arm64_gcc.h (right): > > https://codereview.chromium.org/220793002/diff/1/src/atomicops_internals_arm64_gcc.h#newcode57 ...
6 years, 8 months ago (2014-04-01 10:54:08 UTC) #4
rmcilroy
On 2014/04/01 10:54:08, jochen wrote: > On 2014/04/01 10:50:55, Alexandre Rames wrote: > > > ...
6 years, 8 months ago (2014-04-01 10:57:59 UTC) #5
JF
I'm not sure I understand why "memory" is kept in some places and removed in ...
6 years, 8 months ago (2014-04-01 16:08:09 UTC) #6
Alexandre Rames
On 2014/04/01 16:08:09, JF wrote: > I'm not sure I understand why "memory" is kept ...
6 years, 8 months ago (2014-04-01 16:19:36 UTC) #7
JF
On 2014/04/01 16:19:36, Alexandre Rames wrote: > On 2014/04/01 16:08:09, JF wrote: > > I'm ...
6 years, 8 months ago (2014-04-01 16:28:59 UTC) #8
JF
On 2014/04/01 16:28:59, JF wrote: > On 2014/04/01 16:19:36, Alexandre Rames wrote: > > On ...
6 years, 8 months ago (2014-04-01 16:40:25 UTC) #9
Alexandre Rames
On 2014/04/01 16:40:25, JF wrote: > On 2014/04/01 16:28:59, JF wrote: > > On 2014/04/01 ...
6 years, 8 months ago (2014-04-01 17:34:15 UTC) #10
Alexandre Rames
Following JF's comment, I updated the clobber list of NoBarrier operations to include "memory", and ...
6 years, 8 months ago (2014-04-02 09:42:26 UTC) #11
rmcilroy
On 2014/04/02 09:42:26, Alexandre Rames wrote: > Following JF's comment, I updated the clobber list ...
6 years, 8 months ago (2014-04-02 10:13:43 UTC) #12
JF
lgtm
6 years, 8 months ago (2014-04-02 16:03:49 UTC) #13
Alexandre Rames
On 2014/04/02 16:03:49, JF wrote: > lgtm (Still need approval from an owner of the ...
6 years, 8 months ago (2014-04-02 16:29:41 UTC) #14
ulan
On 2014/04/02 16:29:41, Alexandre Rames wrote: > On 2014/04/02 16:03:49, JF wrote: > > lgtm ...
6 years, 8 months ago (2014-04-02 16:30:05 UTC) #15
Alexandre Rames
6 years, 8 months ago (2014-04-02 16:37:42 UTC) #16
Message was sent while issue was closed.
Committed patchset #2 manually as r20446 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698