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

Issue 2314133003: AOT: Use a cid range check when possible to implement type tests. (Closed)

Created:
4 years, 3 months ago by rmacnak
Modified:
4 years, 3 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

AOT: Use a cid range check when possible to implement type tests. R=fschneider@google.com Committed: https://github.com/dart-lang/sdk/commit/6137d020b96a4d46de9de2cc357295d52a6a09f2

Patch Set 1 #

Patch Set 2 : . #

Total comments: 1

Patch Set 3 : . #

Total comments: 5

Patch Set 4 : via inlining #

Patch Set 5 : always inline #

Total comments: 4

Patch Set 6 : review #

Total comments: 3

Patch Set 7 : symbols #

Unified diffs Side-by-side diffs Delta from patch set Stats (+205 lines, -10 lines) Patch
M runtime/lib/internal_patch.dart View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M runtime/vm/aot_optimizer.h View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M runtime/vm/aot_optimizer.cc View 1 2 3 4 5 6 4 chunks +49 lines, -4 lines 0 comments Download
M runtime/vm/compiler.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/flow_graph_compiler.h View 1 chunk +0 lines, -3 lines 0 comments Download
M runtime/vm/flow_graph_inliner.cc View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language.cc View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/method_recognizer.h View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/precompiler.h View 1 chunk +36 lines, -0 lines 0 comments Download
M runtime/vm/precompiler.cc View 1 2 3 4 5 3 chunks +88 lines, -1 line 0 comments Download
M runtime/vm/symbols.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/thread.h View 3 chunks +7 lines, -0 lines 0 comments Download
M runtime/vm/thread.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 16 (3 generated)
rmacnak
https://codereview.chromium.org/2314133003/diff/20001/runtime/vm/flow_graph.h File runtime/vm/flow_graph.h (right): https://codereview.chromium.org/2314133003/diff/20001/runtime/vm/flow_graph.h#newcode318 runtime/vm/flow_graph.h:318: friend class AotOptimizer; ComputeDominators https://codereview.chromium.org/2314133003/diff/40001/runtime/vm/precompiler.cc File runtime/vm/precompiler.cc (right): https://codereview.chromium.org/2314133003/diff/40001/runtime/vm/precompiler.cc#newcode243 ...
4 years, 3 months ago (2016-09-07 01:20:28 UTC) #2
Florian Schneider
https://codereview.chromium.org/2314133003/diff/40001/runtime/vm/aot_optimizer.cc File runtime/vm/aot_optimizer.cc (right): https://codereview.chromium.org/2314133003/diff/40001/runtime/vm/aot_optimizer.cc#newcode1635 runtime/vm/aot_optimizer.cc:1635: void AotOptimizer::ReplaceWithClassRangeCheck(InstanceCallInstr* call, I wonder if it would be ...
4 years, 3 months ago (2016-09-07 16:35:57 UTC) #3
regis
https://codereview.chromium.org/2314133003/diff/40001/runtime/vm/precompiler.cc File runtime/vm/precompiler.cc (right): https://codereview.chromium.org/2314133003/diff/40001/runtime/vm/precompiler.cc#newcode243 runtime/vm/precompiler.cc:243: cls_type = cls.DeclarationType(); On 2016/09/07 01:20:27, rmacnak wrote: > ...
4 years, 3 months ago (2016-09-07 17:06:08 UTC) #4
rmacnak
https://chromiumcodereview.appspot.com/2314133003/diff/40001/runtime/vm/aot_optimizer.cc File runtime/vm/aot_optimizer.cc (right): https://chromiumcodereview.appspot.com/2314133003/diff/40001/runtime/vm/aot_optimizer.cc#newcode1635 runtime/vm/aot_optimizer.cc:1635: void AotOptimizer::ReplaceWithClassRangeCheck(InstanceCallInstr* call, On 2016/09/07 16:35:57, Florian Schneider wrote: ...
4 years, 3 months ago (2016-09-07 22:21:28 UTC) #5
rmacnak
Flutter gallery VMIsolate(CodeSize): 116350 Isolate(CodeSize): 2717811 ReadOnlyData(CodeSize): 1714744 Instructions(CodeSize): 5556384 Total(CodeSize): 10105289 => VMIsolate(CodeSize): 116358 ...
4 years, 3 months ago (2016-09-07 22:26:26 UTC) #6
rmacnak
dart2js VMIsolate(CodeSize): 173958 Isolate(CodeSize): 4705941 ReadOnlyData(CodeSize): 4056568 Instructions(CodeSize): 9039104 Total(CodeSize): 17975571 VMIsolate(CodeSize): 174010 Isolate(CodeSize): 4671558 ...
4 years, 3 months ago (2016-09-07 22:28:33 UTC) #7
rmacnak
flutter layout benchmark 816.6, 812.9, 819.8, 800.4, 820.6 => 795.3, 796.5, 793.1, 788.0, 776.6 +3.05% ...
4 years, 3 months ago (2016-09-08 00:22:08 UTC) #8
rmacnak
CompileOnceHelloHtml 1413, 1326, 1426, 1292, 1473 => 1306, 1445, 1377, 1384, 1397 +0.33%
4 years, 3 months ago (2016-09-08 01:02:16 UTC) #9
siva
Nice. DBC https://codereview.chromium.org/2314133003/diff/80001/runtime/vm/precompiler.cc File runtime/vm/precompiler.cc (right): https://codereview.chromium.org/2314133003/diff/80001/runtime/vm/precompiler.cc#newcode210 runtime/vm/precompiler.cc:210: if (type.IsFunctionType()) return false; Zone* zone = ...
4 years, 3 months ago (2016-09-08 01:45:57 UTC) #11
rmacnak
https://chromiumcodereview.appspot.com/2314133003/diff/80001/runtime/vm/precompiler.cc File runtime/vm/precompiler.cc (right): https://chromiumcodereview.appspot.com/2314133003/diff/80001/runtime/vm/precompiler.cc#newcode210 runtime/vm/precompiler.cc:210: if (type.IsFunctionType()) return false; On 2016/09/08 01:45:56, siva wrote: ...
4 years, 3 months ago (2016-09-08 21:02:46 UTC) #12
Florian Schneider
Lgtm. https://chromiumcodereview.appspot.com/2314133003/diff/100001/runtime/vm/aot_optimizer.cc File runtime/vm/aot_optimizer.cc (right): https://chromiumcodereview.appspot.com/2314133003/diff/100001/runtime/vm/aot_optimizer.cc#newcode1571 runtime/vm/aot_optimizer.cc:1571: String::Handle(Z, String::New(negate ? "_classRangeCheckNegative" Maybe add to symbols.h, ...
4 years, 3 months ago (2016-09-08 21:21:05 UTC) #13
rmacnak
https://chromiumcodereview.appspot.com/2314133003/diff/100001/runtime/vm/aot_optimizer.cc File runtime/vm/aot_optimizer.cc (right): https://chromiumcodereview.appspot.com/2314133003/diff/100001/runtime/vm/aot_optimizer.cc#newcode1571 runtime/vm/aot_optimizer.cc:1571: String::Handle(Z, String::New(negate ? "_classRangeCheckNegative" On 2016/09/08 21:21:05, Florian Schneider ...
4 years, 3 months ago (2016-09-08 22:20:21 UTC) #14
rmacnak
4 years, 3 months ago (2016-09-08 22:25:15 UTC) #16
Message was sent while issue was closed.
Committed patchset #7 (id:120001) manually as
6137d020b96a4d46de9de2cc357295d52a6a09f2 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698