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

Issue 8972002: Use deopt on some instructions that have not collected type feedback when optimizing compierl kic... (Closed)

Created:
9 years ago by srdjan
Modified:
9 years ago
Reviewers:
regis
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Use deopt on some instructions that have not collected type feedback when optimizing compierl kicks in. Optimize SAR. Committed: https://code.google.com/p/dart/source/detail?r=2487

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 7

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+121 lines, -190 lines) Patch
M runtime/vm/code_generator.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/opt_code_generator_ia32.cc View 1 2 3 4 5 6 chunks +45 lines, -2 lines 0 comments Download
M tests/language/src/BitOperationsTest.dart View 1 2 3 4 5 2 chunks +7 lines, -0 lines 0 comments Download
A tests/language/src/DeoptNoFeedbackTest.dart View 1 chunk +53 lines, -0 lines 0 comments Download
M tests/language/src/DeoptimizationTest.dart View 1 2 3 4 5 1 chunk +0 lines, -187 lines 0 comments Download
A + tests/standalone/src/DeoptimizationTest.dart View 1 2 3 2 chunks +14 lines, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
srdjan
9 years ago (2011-12-15 21:42:17 UTC) #1
regis
LGTM with questions http://codereview.chromium.org/8972002/diff/6/runtime/vm/opt_code_generator_ia32.cc File runtime/vm/opt_code_generator_ia32.cc (right): http://codereview.chromium.org/8972002/diff/6/runtime/vm/opt_code_generator_ia32.cc#newcode701 runtime/vm/opt_code_generator_ia32.cc:701: __ SmiTag(EAX); No overflow check? http://codereview.chromium.org/8972002/diff/6/tests/language/src/BitOperationsTest.dart ...
9 years ago (2011-12-15 22:18:42 UTC) #2
srdjan
Moved DeoptimizationTest.dart to standalone since Javascript cannot handle shifts > 0x1F, and VM can. http://codereview.chromium.org/8972002/diff/6/runtime/vm/opt_code_generator_ia32.cc ...
9 years ago (2011-12-15 22:27:14 UTC) #3
regis
9 years ago (2011-12-15 22:38:20 UTC) #4
http://codereview.chromium.org/8972002/diff/6/runtime/vm/opt_code_generator_i...
File runtime/vm/opt_code_generator_ia32.cc (right):

http://codereview.chromium.org/8972002/diff/6/runtime/vm/opt_code_generator_i...
runtime/vm/opt_code_generator_ia32.cc:701: __ SmiTag(EAX);
On 2011/12/15 22:27:16, srdjan wrote:
> On 2011/12/15 22:18:43, regis wrote:
> > No overflow check?
> 
> Right shift cannot overflow.

Ah, the 'l' in 'sarl' does not stand for 'left' :-)

Powered by Google App Engine
This is Rietveld 408576698