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

Issue 1823123002: VM: Intrinsify double arithmetic operations with a smi rhs. (Closed)

Created:
4 years, 9 months ago by Florian Schneider
Modified:
4 years, 9 months ago
Reviewers:
zra, srdjan
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

VM: Intrinsify double arithmetic operations with a smi rhs. This avoids calling the native C++ implementation from unoptimized and precompiled code when the rhs of a double +, -, * or / is a smi. BUG= R=srdjan@google.com Committed: https://github.com/dart-lang/sdk/commit/dae61fee7a350115843710054091d9fab6966853

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -10 lines) Patch
M runtime/vm/intrinsifier_arm.cc View 2 chunks +8 lines, -2 lines 0 comments Download
M runtime/vm/intrinsifier_arm64.cc View 2 chunks +9 lines, -2 lines 2 comments Download
M runtime/vm/intrinsifier_ia32.cc View 2 chunks +7 lines, -2 lines 0 comments Download
M runtime/vm/intrinsifier_mips.cc View 2 chunks +10 lines, -2 lines 2 comments Download
M runtime/vm/intrinsifier_x64.cc View 2 chunks +7 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
Florian Schneider
4 years, 9 months ago (2016-03-22 15:45:35 UTC) #2
srdjan
lgtm
4 years, 9 months ago (2016-03-22 16:43:13 UTC) #3
Florian Schneider
Committed patchset #1 (id:1) manually as dae61fee7a350115843710054091d9fab6966853 (presubmit successful).
4 years, 9 months ago (2016-03-22 16:56:55 UTC) #5
zra
DBC https://codereview.chromium.org/1823123002/diff/1/runtime/vm/intrinsifier_arm64.cc File runtime/vm/intrinsifier_arm64.cc (right): https://codereview.chromium.org/1823123002/diff/1/runtime/vm/intrinsifier_arm64.cc#newcode1411 runtime/vm/intrinsifier_arm64.cc:1411: __ b(&double_op); // Then do the comparison. comparison ...
4 years, 9 months ago (2016-03-22 17:12:22 UTC) #7
Florian Schneider
4 years, 9 months ago (2016-03-25 16:09:47 UTC) #8
Message was sent while issue was closed.
Thanks. https://codereview.chromium.org/1835583002

https://codereview.chromium.org/1823123002/diff/1/runtime/vm/intrinsifier_arm...
File runtime/vm/intrinsifier_arm64.cc (right):

https://codereview.chromium.org/1823123002/diff/1/runtime/vm/intrinsifier_arm...
runtime/vm/intrinsifier_arm64.cc:1411: __ b(&double_op);  // Then do the
comparison.
On 2016/03/22 17:12:21, zra wrote:
> comparison -> operation. For other platforms as well.

Done.

https://codereview.chromium.org/1823123002/diff/1/runtime/vm/intrinsifier_mip...
File runtime/vm/intrinsifier_mips.cc (right):

https://codereview.chromium.org/1823123002/diff/1/runtime/vm/intrinsifier_mip...
runtime/vm/intrinsifier_mips.cc:1414: __ b(&double_op);
On 2016/03/22 17:12:21, zra wrote:
> It looks like you can use the delay slot here.

Done. Here and for comparisons.

Powered by Google App Engine
This is Rietveld 408576698