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

Issue 26191002: Hook ByteArrayViewLoad operations into polymorphic inliner (Closed)

Created:
7 years, 2 months ago by Cutch
Modified:
7 years, 2 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

This CL enables the polymorphic inliner to inline loads on typed array views. It also contains a small cleanup so that the signatures of BuildByteArrayViewLoad and BuildByteArrayViewStore match. R=fschneider@google.com Committed: https://code.google.com/p/dart/source/detail?r=29066

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 1

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Total comments: 10

Patch Set 9 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+290 lines, -54 lines) Patch
M runtime/vm/flow_graph_inliner.cc View 1 2 3 4 6 chunks +13 lines, -8 lines 0 comments Download
M runtime/vm/flow_graph_optimizer.h View 1 2 3 4 5 6 7 8 2 chunks +16 lines, -2 lines 0 comments Download
M runtime/vm/flow_graph_optimizer.cc View 1 2 3 4 5 6 7 8 7 chunks +226 lines, -43 lines 0 comments Download
M runtime/vm/intermediate_language.h View 1 2 3 4 5 6 7 8 2 chunks +13 lines, -1 line 0 comments Download
M runtime/vm/intermediate_language.cc View 1 2 3 4 5 6 7 8 1 chunk +22 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Cutch
7 years, 2 months ago (2013-10-07 23:44:26 UTC) #1
Cutch
https://codereview.chromium.org/26191002/diff/6001/runtime/lib/typed_data.dart File runtime/lib/typed_data.dart (right): https://codereview.chromium.org/26191002/diff/6001/runtime/lib/typed_data.dart#newcode698 runtime/lib/typed_data.dart:698: int _getUint8(int offsetInBytes) native "TypedData_GetUint8"; I have to override ...
7 years, 2 months ago (2013-10-07 23:49:50 UTC) #2
srdjan
Maybe we could adapt TryRepplaceXXX functions to optimize for single target, multiple cid's?
7 years, 2 months ago (2013-10-09 17:14:11 UTC) #3
Florian Schneider
On 2013/10/09 17:14:11, srdjan wrote: > Maybe we could adapt TryRepplaceXXX functions to optimize for ...
7 years, 2 months ago (2013-10-10 13:32:44 UTC) #4
Cutch
On 2013/10/10 13:32:44, Florian Schneider wrote: > On possibility would be to handle recognized methods ...
7 years, 2 months ago (2013-10-10 15:02:58 UTC) #5
Cutch
This is ready for review. https://codereview.chromium.org/26191002/diff/84001/runtime/vm/flow_graph_inliner.cc File runtime/vm/flow_graph_inliner.cc (right): https://codereview.chromium.org/26191002/diff/84001/runtime/vm/flow_graph_inliner.cc#newcode367 runtime/vm/flow_graph_inliner.cc:367: bool TryInlineRecognizedMethod(intptr_t receiver_cid, const ...
7 years, 2 months ago (2013-10-22 03:46:16 UTC) #6
Florian Schneider
LGTM. https://codereview.chromium.org/26191002/diff/84001/runtime/vm/flow_graph_optimizer.cc File runtime/vm/flow_graph_optimizer.cc (right): https://codereview.chromium.org/26191002/diff/84001/runtime/vm/flow_graph_optimizer.cc#newcode1113 runtime/vm/flow_graph_optimizer.cc:1113: case MethodRecognizer::kByteArrayBaseGetFloat32x4: Do you need to check for ...
7 years, 2 months ago (2013-10-22 15:57:33 UTC) #7
Cutch
Committed patchset #9 manually as r29066 (presubmit successful).
7 years, 2 months ago (2013-10-23 09:19:00 UTC) #8
Cutch
7 years, 2 months ago (2013-10-23 09:19:52 UTC) #9
Message was sent while issue was closed.
https://codereview.chromium.org/26191002/diff/84001/runtime/vm/flow_graph_opt...
File runtime/vm/flow_graph_optimizer.cc (right):

https://codereview.chromium.org/26191002/diff/84001/runtime/vm/flow_graph_opt...
runtime/vm/flow_graph_optimizer.cc:1113: case
MethodRecognizer::kByteArrayBaseGetFloat32x4:
On 2013/10/22 15:57:33, Florian Schneider wrote:
> Do you need to check for ShouldInlineSimd() here?

Done.

Powered by Google App Engine
This is Rietveld 408576698