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

Issue 2622643005: ARM64: Add NEON support (Closed)

Created:
3 years, 11 months ago by martyn.capewell
Modified:
3 years, 8 months ago
Reviewers:
Benedikt Meurer, epertoso, bbudge, beckie, bradn
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

ARM64: Add NEON support Add assembler, disassembler and simulator support for NEON in the ARM64 backend. BUG= Review-Url: https://codereview.chromium.org/2622643005 Cr-Commit-Position: refs/heads/master@{#44306} Committed: https://chromium.googlesource.com/v8/v8/+/4506382dceb2cad7d2f5d53aca3b368c860f06cb

Patch Set 1 #

Total comments: 73

Patch Set 2 : Address Bill's review comments #

Patch Set 3 : Restore AreConsecutive change #

Total comments: 15

Patch Set 4 : Address Bill's last comments and add traces to DEPS #

Patch Set 5 : Rebased on master #

Patch Set 6 : Fix rebase conflicts #

Patch Set 7 : Rebase #

Patch Set 8 : Fix mozilla test and presubmit #

Patch Set 9 : Fix Math.abs properly #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30530 lines, -2914 lines) Patch
M BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M DEPS View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M src/arm64/assembler-arm64.h View 1 2 3 4 5 6 7 8 24 chunks +1558 lines, -167 lines 0 comments Download
M src/arm64/assembler-arm64.cc View 1 2 3 4 5 6 7 8 14 chunks +2104 lines, -325 lines 0 comments Download
M src/arm64/assembler-arm64-inl.h View 1 2 3 4 5 6 7 8 15 chunks +130 lines, -59 lines 0 comments Download
M src/arm64/code-stubs-arm64.cc View 1 2 3 4 5 6 7 8 7 chunks +17 lines, -20 lines 0 comments Download
M src/arm64/constants-arm64.h View 1 2 3 4 5 6 7 8 15 chunks +948 lines, -87 lines 0 comments Download
M src/arm64/decoder-arm64.h View 1 2 3 4 5 6 7 8 3 chunks +75 lines, -46 lines 0 comments Download
M src/arm64/decoder-arm64-inl.h View 1 2 3 4 5 6 7 8 4 chunks +185 lines, -19 lines 0 comments Download
M src/arm64/deoptimizer-arm64.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download
M src/arm64/disasm-arm64.h View 1 2 3 4 5 6 7 8 2 chunks +8 lines, -0 lines 0 comments Download
M src/arm64/disasm-arm64.cc View 1 2 3 4 5 6 7 8 19 chunks +2456 lines, -168 lines 0 comments Download
M src/arm64/instructions-arm64.h View 1 2 3 4 5 6 7 8 8 chunks +287 lines, -26 lines 0 comments Download
M src/arm64/instructions-arm64.cc View 1 2 3 4 5 6 7 8 5 chunks +452 lines, -30 lines 0 comments Download
M src/arm64/instrument-arm64.cc View 1 2 3 4 5 6 7 8 2 chunks +154 lines, -1 line 0 comments Download
M src/arm64/macro-assembler-arm64.h View 1 2 3 4 5 6 7 8 18 chunks +682 lines, -112 lines 0 comments Download
M src/arm64/macro-assembler-arm64.cc View 1 2 3 4 5 6 7 8 19 chunks +192 lines, -32 lines 0 comments Download
M src/arm64/macro-assembler-arm64-inl.h View 1 2 3 4 5 6 7 8 7 chunks +87 lines, -170 lines 0 comments Download
M src/arm64/simulator-arm64.h View 1 2 3 4 5 6 7 8 19 chunks +1554 lines, -104 lines 0 comments Download
M src/arm64/simulator-arm64.cc View 1 2 3 4 5 6 7 8 34 chunks +2766 lines, -943 lines 0 comments Download
A src/arm64/simulator-logic-arm64.cc View 1 2 3 4 5 6 7 8 1 chunk +4198 lines, -0 lines 0 comments Download
M src/arm64/utils-arm64.h View 1 2 3 4 5 6 7 8 5 chunks +22 lines, -30 lines 0 comments Download
M src/arm64/utils-arm64.cc View 1 2 3 4 5 6 7 8 3 chunks +83 lines, -39 lines 0 comments Download
M src/compiler/arm64/code-generator-arm64.cc View 1 2 3 4 5 6 7 8 10 chunks +16 lines, -16 lines 0 comments Download
M src/compiler/arm64/instruction-selector-arm64.cc View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -5 lines 0 comments Download
M src/crankshaft/arm64/delayed-masm-arm64.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download
M src/crankshaft/arm64/delayed-masm-arm64-inl.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -4 lines 0 comments Download
M src/crankshaft/arm64/lithium-codegen-arm64.h View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -4 lines 0 comments Download
M src/crankshaft/arm64/lithium-codegen-arm64.cc View 1 2 3 4 5 6 7 8 11 chunks +16 lines, -17 lines 0 comments Download
M src/crankshaft/arm64/lithium-gap-resolver-arm64.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M src/v8.gyp View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M test/cctest/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M test/cctest/cctest.gyp View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M test/cctest/test-assembler-arm64.cc View 1 2 3 4 5 6 7 8 38 chunks +4338 lines, -423 lines 0 comments Download
M test/cctest/test-disasm-arm64.cc View 1 2 3 4 5 6 7 8 13 chunks +3157 lines, -11 lines 0 comments Download
A test/cctest/test-simulator-neon-arm64.cc View 1 2 3 4 5 6 7 8 1 chunk +2562 lines, -0 lines 0 comments Download
A test/cctest/test-simulator-neon-inputs-arm64.h View 1 2 3 4 5 6 7 8 1 chunk +952 lines, -0 lines 0 comments Download
A test/cctest/test-simulator-neon-traces-arm64.h View 1 2 3 4 5 6 7 8 1 chunk +1414 lines, -0 lines 0 comments Download
M test/cctest/test-utils-arm64.h View 1 2 3 4 5 6 7 8 8 chunks +34 lines, -16 lines 0 comments Download
M test/cctest/test-utils-arm64.cc View 1 2 3 4 5 6 7 8 9 chunks +58 lines, -35 lines 0 comments Download

Messages

Total messages: 42 (19 generated)
martyn.capewell
3 years, 11 months ago (2017-01-10 10:44:15 UTC) #2
bradn
3 years, 11 months ago (2017-01-20 01:00:37 UTC) #6
bbudge
This is a first round of comments. In general, the patch looks good, and I ...
3 years, 10 months ago (2017-01-31 01:41:32 UTC) #7
martyn.capewell
https://codereview.chromium.org/2622643005/diff/1/src/arm64/assembler-arm64.cc File src/arm64/assembler-arm64.cc (right): https://codereview.chromium.org/2622643005/diff/1/src/arm64/assembler-arm64.cc#newcode280 src/arm64/assembler-arm64.cc:280: return match; On 2017/01/31 01:41:31, bbudge wrote: > Rather ...
3 years, 10 months ago (2017-02-03 11:01:32 UTC) #8
bbudge
Just a few comments. Hopefully I've answered your questions. Looking good. https://codereview.chromium.org/2622643005/diff/1/src/arm64/assembler-arm64.h File src/arm64/assembler-arm64.h (right): ...
3 years, 10 months ago (2017-02-08 01:39:12 UTC) #9
martyn.capewell
https://codereview.chromium.org/2622643005/diff/1/src/arm64/assembler-arm64.h File src/arm64/assembler-arm64.h (right): https://codereview.chromium.org/2622643005/diff/1/src/arm64/assembler-arm64.h#newcode57 src/arm64/assembler-arm64.h:57: V(q8) V(q9) V(q10) V(q11) V(q12) V(q13) V(q14) V(q15) On ...
3 years, 10 months ago (2017-02-15 11:51:05 UTC) #10
bbudge
Obviously I haven't thoroughly reviewed every line of this CL, but except for a few ...
3 years, 10 months ago (2017-02-22 01:50:59 UTC) #11
martyn.capewell
https://codereview.chromium.org/2622643005/diff/20001/src/arm64/assembler-arm64.h File src/arm64/assembler-arm64.h (right): https://codereview.chromium.org/2622643005/diff/20001/src/arm64/assembler-arm64.h#newcode1319 src/arm64/assembler-arm64.h:1319: // Bitwise orn. On 2017/02/22 01:50:59, bbudge wrote: > ...
3 years, 10 months ago (2017-02-23 13:10:41 UTC) #12
bbudge
https://codereview.chromium.org/2622643005/diff/20001/src/arm64/macro-assembler-arm64.h File src/arm64/macro-assembler-arm64.h (right): https://codereview.chromium.org/2622643005/diff/20001/src/arm64/macro-assembler-arm64.h#newcode503 src/arm64/macro-assembler-arm64.h:503: DCHECK(allow_macro_instructions_); On 2017/02/23 13:10:41, martyn.capewell wrote: > The aim ...
3 years, 10 months ago (2017-02-24 22:34:24 UTC) #13
martyn.capewell
I've addressed the last of the comments, and added a DEPS entry for the traces ...
3 years, 9 months ago (2017-03-16 11:25:57 UTC) #14
bbudge
Still LGTM.
3 years, 9 months ago (2017-03-27 17:40:52 UTC) #16
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/2622643005/40001
3 years, 9 months ago (2017-03-27 17:47:54 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_avx2_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_avx2_rel_ng/builds/19291) v8_linux64_gyp_rel_ng on master.tryserver.v8 (JOB_FAILED, ...
3 years, 9 months ago (2017-03-27 17:49:27 UTC) #20
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/2622643005/50001
3 years, 8 months ago (2017-03-28 13:12:10 UTC) #24
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/37848)
3 years, 8 months ago (2017-03-28 13:15:20 UTC) #26
martyn.capewell
Hi Benedikt - can I have a lgtm on this to pass presubmit?
3 years, 8 months ago (2017-03-30 12:33:37 UTC) #27
Benedikt Meurer
LGTM (rubber-stamped)
3 years, 8 months ago (2017-03-30 12:37:00 UTC) #28
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/2622643005/70001
3 years, 8 months ago (2017-03-30 12:39:08 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_arm64_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm64_rel_ng/builds/19334) v8_linux_arm64_rel_ng_triggered on master.tryserver.v8 (JOB_FAILED, ...
3 years, 8 months ago (2017-03-30 13:11:00 UTC) #33
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/2622643005/80001
3 years, 8 months ago (2017-03-31 10:11:05 UTC) #37
commit-bot: I haz the power
Committed patchset #9 (id:80001) as https://chromium.googlesource.com/v8/v8/+/4506382dceb2cad7d2f5d53aca3b368c860f06cb
3 years, 8 months ago (2017-03-31 11:33:14 UTC) #40
Michael Achenbach
On 2017/03/31 11:33:14, commit-bot: I haz the power wrote: > Committed patchset #9 (id:80001) as ...
3 years, 8 months ago (2017-03-31 12:36:37 UTC) #41
martyn.capewell
3 years, 8 months ago (2017-03-31 13:05:41 UTC) #42
Message was sent while issue was closed.
On 2017/03/31 12:36:37, Michael Achenbach wrote:
> On 2017/03/31 11:33:14, commit-bot: I haz the power wrote:
> > Committed patchset #9 (id:80001) as
> >
>
https://chromium.googlesource.com/v8/v8/+/4506382dceb2cad7d2f5d53aca3b368c860...
> 
> Revert CL:
> https://codereview.chromium.org/2785183005
> 
> For the deps, please file a ticket to chromium issue tracker with component
> Infra>Git for requesting a googlesource mirror.

OK. Created https://bugs.chromium.org/p/v8/issues/detail?id=6185 though I can't
see how to set the component from the interface I have.

Powered by Google App Engine
This is Rietveld 408576698