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

Issue 106973008: Optimize num::~/, num::>> and num::<< for some cases. (Closed)

Created:
7 years ago by ngeoffray
Modified:
7 years ago
Reviewers:
floitsch, kasperl, sra1
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Optimize num::~/, num::>> and num::<< for some cases. R=floitsch@google.com, kasperl@google.com Committed: https://code.google.com/p/dart/source/detail?r=31023

Patch Set 1 #

Total comments: 16

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -24 lines) Patch
M sdk/lib/_internal/compiler/implementation/ssa/codegen.dart View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/ssa/invoke_dynamic_specializers.dart View 1 4 chunks +57 lines, -2 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/ssa/nodes.dart View 4 chunks +15 lines, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/ssa/tracer.dart View 1 chunk +4 lines, -0 lines 0 comments Download
M sdk/lib/_internal/lib/js_number.dart View 1 2 chunks +45 lines, -19 lines 0 comments Download
M tests/compiler/dart2js/mock_compiler.dart View 2 chunks +12 lines, -3 lines 0 comments Download
A tests/language/truncdiv_uint32_test.dart View 1 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
ngeoffray
7 years ago (2013-12-10 14:14:39 UTC) #1
ngeoffray
+sra, I know you might be interested in this :)
7 years ago (2013-12-10 14:20:47 UTC) #2
kasperl
LGTM. https://codereview.chromium.org/106973008/diff/1/sdk/lib/_internal/compiler/implementation/ssa/invoke_dynamic_specializers.dart File sdk/lib/_internal/compiler/implementation/ssa/invoke_dynamic_specializers.dart (right): https://codereview.chromium.org/106973008/diff/1/sdk/lib/_internal/compiler/implementation/ssa/invoke_dynamic_specializers.dart#newcode233 sdk/lib/_internal/compiler/implementation/ssa/invoke_dynamic_specializers.dart:233: Too much whitespace. https://codereview.chromium.org/106973008/diff/1/sdk/lib/_internal/compiler/implementation/ssa/invoke_dynamic_specializers.dart#newcode393 sdk/lib/_internal/compiler/implementation/ssa/invoke_dynamic_specializers.dart:393: instruction.selector = renameToOptimizedSelector( ...
7 years ago (2013-12-10 14:22:53 UTC) #3
ngeoffray
Thanks Kasper. I also fixed a bug spotted by floitsch@ and added a regression test. ...
7 years ago (2013-12-10 15:26:16 UTC) #4
floitsch
LGTM. https://codereview.chromium.org/106973008/diff/1/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart File sdk/lib/_internal/compiler/implementation/ssa/codegen.dart (right): https://codereview.chromium.org/106973008/diff/1/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart#newcode1252 sdk/lib/_internal/compiler/implementation/ssa/codegen.dart:1252: visitTruncatingDivide(HTruncatingDivide node) { Maybe add an assert that ...
7 years ago (2013-12-10 15:45:16 UTC) #5
ngeoffray
Thanks Florian. https://codereview.chromium.org/106973008/diff/1/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart File sdk/lib/_internal/compiler/implementation/ssa/codegen.dart (right): https://codereview.chromium.org/106973008/diff/1/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart#newcode1252 sdk/lib/_internal/compiler/implementation/ssa/codegen.dart:1252: visitTruncatingDivide(HTruncatingDivide node) { On 2013/12/10 15:45:16, floitsch ...
7 years ago (2013-12-10 15:48:15 UTC) #6
ngeoffray
7 years ago (2013-12-10 15:59:28 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 manually as r31023 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698