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

Issue 18684008: Begins implementation of ARM neon instructions. (Closed)

Created:
7 years, 5 months ago by zra
Modified:
7 years, 5 months ago
Reviewers:
regis
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Begins implementation of ARM neon instructions. Just adds the vadd instruction, but also changes the arm assembler to expose the Q registers rather than the D registers. Q0 = D1:D0 = S3:S2:S1:S0. This is similar to how ia32 and x64 use only the xmm registers for floating point. R=regis@google.com Committed: https://code.google.com/p/dart/source/detail?r=24982

Patch Set 1 #

Patch Set 2 : #

Total comments: 14

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+549 lines, -76 lines) Patch
M runtime/platform/globals.h View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M runtime/vm/assembler_arm.h View 1 2 3 3 chunks +8 lines, -0 lines 0 comments Download
M runtime/vm/assembler_arm.cc View 1 2 3 7 chunks +49 lines, -6 lines 0 comments Download
M runtime/vm/assembler_arm_test.cc View 1 2 3 1 chunk +175 lines, -0 lines 0 comments Download
M runtime/vm/constants_arm.h View 1 2 3 5 chunks +70 lines, -12 lines 0 comments Download
M runtime/vm/disassembler_arm.cc View 1 2 3 15 chunks +74 lines, -9 lines 0 comments Download
M runtime/vm/flow_graph_compiler_arm.cc View 1 2 3 10 chunks +39 lines, -19 lines 2 comments Download
M runtime/vm/intermediate_language_arm.cc View 1 2 3 4 14 chunks +35 lines, -24 lines 1 comment Download
M runtime/vm/simulator_arm.h View 1 2 3 4 chunks +12 lines, -1 line 0 comments Download
M runtime/vm/simulator_arm.cc View 1 2 3 3 chunks +83 lines, -1 line 0 comments Download
M runtime/vm/stub_code_arm.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
zra
7 years, 5 months ago (2013-07-12 00:17:56 UTC) #1
regis
LGTM with some suggestions for naming convention. https://codereview.chromium.org/18684008/diff/10001/runtime/platform/globals.h File runtime/platform/globals.h (right): https://codereview.chromium.org/18684008/diff/10001/runtime/platform/globals.h#newcode126 runtime/platform/globals.h:126: #if defined(TARGET_ARCH_ARM) ...
7 years, 5 months ago (2013-07-12 22:16:01 UTC) #2
zra
Thanks! https://codereview.chromium.org/18684008/diff/10001/runtime/platform/globals.h File runtime/platform/globals.h (right): https://codereview.chromium.org/18684008/diff/10001/runtime/platform/globals.h#newcode126 runtime/platform/globals.h:126: #if defined(TARGET_ARCH_ARM) On 2013/07/12 22:16:01, regis wrote: > ...
7 years, 5 months ago (2013-07-12 23:22:17 UTC) #3
zra
Committed patchset #5 manually as r24982 (presubmit successful).
7 years, 5 months ago (2013-07-12 23:22:57 UTC) #4
regis
7 years, 5 months ago (2013-07-16 00:18:42 UTC) #5
Message was sent while issue was closed.
LGTM with a few suggestions.

https://codereview.chromium.org/18684008/diff/23002/runtime/vm/flow_graph_com...
File runtime/vm/flow_graph_compiler_arm.cc (right):

https://codereview.chromium.org/18684008/diff/23002/runtime/vm/flow_graph_com...
runtime/vm/flow_graph_compiler_arm.cc:1515: __ vstrd(d2, Address(SP, offset + 2
* kWordSize));
Fine for now, but you should add a TODO (my name is fine :-) to make use of the
vstm instruction that could save some code.

https://codereview.chromium.org/18684008/diff/23002/runtime/vm/flow_graph_com...
runtime/vm/flow_graph_compiler_arm.cc:1551: __ vldrd(d2, Address(SP, offset + 2
* kWordSize));
TODO(regis): Use vldm instruction.

https://codereview.chromium.org/18684008/diff/23002/runtime/vm/intermediate_l...
File runtime/vm/intermediate_language_arm.cc (right):

https://codereview.chromium.org/18684008/diff/23002/runtime/vm/intermediate_l...
runtime/vm/intermediate_language_arm.cc:3116: // QRegister result =
locs()->out().fpu_reg();
Why are those lines commented out?

Powered by Google App Engine
This is Rietveld 408576698