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

Issue 2760963002: [arm64] Use acquire/release memory accesses for atomics (Closed)

Created:
3 years, 9 months ago by martyn.capewell
Modified:
3 years, 8 months ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

[arm64] Use acquire/release memory accesses for atomics Implement ASSEMBLE_ATOMIC_LOAD/STORE_INTEGER using acquire/release instructions, to match the existing ASSEMBLE_ATOMIC_EXCHANGE_INTEGER macro. BUG=v8:6097 Review-Url: https://codereview.chromium.org/2760963002 Cr-Commit-Position: refs/heads/master@{#44184} Committed: https://chromium.googlesource.com/v8/v8/+/630c33c6f48ba3b2da5c38dd894f5155df4c8f3b

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+135 lines, -99 lines) Patch
M src/arm64/assembler-arm64.cc View 4 chunks +12 lines, -12 lines 0 comments Download
M src/arm64/constants-arm64.h View 1 chunk +1 line, -1 line 0 comments Download
M src/arm64/disasm-arm64.cc View 2 chunks +6 lines, -5 lines 0 comments Download
M src/arm64/instrument-arm64.cc View 1 chunk +30 lines, -30 lines 0 comments Download
M src/arm64/simulator-arm64.cc View 2 chunks +45 lines, -21 lines 0 comments Download
M src/compiler/arm64/code-generator-arm64.cc View 2 chunks +18 lines, -24 lines 1 comment Download
M src/compiler/arm64/instruction-selector-arm64.cc View 3 chunks +10 lines, -6 lines 0 comments Download
M test/cctest/test-disasm-arm64.cc View 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (7 generated)
martyn.capewell
In place of https://codereview.chromium.org/2754543006/ , using acquire/release on existing atomics instead.
3 years, 9 months ago (2017-03-20 17:17:57 UTC) #2
aseemgarg
https://codereview.chromium.org/2760963002/diff/1/src/compiler/arm64/code-generator-arm64.cc File src/compiler/arm64/code-generator-arm64.cc (right): https://codereview.chromium.org/2760963002/diff/1/src/compiler/arm64/code-generator-arm64.cc#newcode1652 src/compiler/arm64/code-generator-arm64.cc:1652: ASSEMBLE_ATOMIC_STORE_INTEGER(Stlrb); Is this correct? Since, stlr/b/h is store with ...
3 years, 9 months ago (2017-03-20 20:56:47 UTC) #3
martyn.capewell
Providing that the buffer is only accessed through acquire/release instructions, we believe it should work ...
3 years, 9 months ago (2017-03-21 11:42:40 UTC) #4
binji
lgtm
3 years, 9 months ago (2017-03-24 20:32:42 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2760963002/1
3 years, 9 months ago (2017-03-27 17:40:03 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/37741)
3 years, 9 months ago (2017-03-27 17:42:37 UTC) #10
Benedikt Meurer
LGTM (rubber-stamped)
3 years, 8 months ago (2017-03-28 04:28:01 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2760963002/1
3 years, 8 months ago (2017-03-28 09:44:56 UTC) #13
commit-bot: I haz the power
3 years, 8 months ago (2017-03-28 10:07:06 UTC) #16
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/v8/v8/+/630c33c6f48ba3b2da5c38dd894f5155df4...

Powered by Google App Engine
This is Rietveld 408576698