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

Issue 2790833004: [turbofan] Better representation selection for comparison with Float64. (Closed)

Created:
3 years, 8 months ago by Benedikt Meurer
Modified:
3 years, 8 months ago
Reviewers:
Jarin
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan] Better representation selection for comparison with Float64. For speculative number comparisons with SignedSmall feedback, we always enforce either TaggedSigned or Word32 comparisons. But this is not really beneficial if one of the inputs is already in Float64 representation; in that case it's cheaper to just convert the other input to a Float64. R=jarin@chromium.org Review-Url: https://codereview.chromium.org/2790833004 Cr-Commit-Position: refs/heads/master@{#44327} Committed: https://chromium.googlesource.com/v8/v8/+/8af394d6d385daf05b73765a2545ac8f266c64c7

Patch Set 1 #

Total comments: 2

Patch Set 2 : REBASE and comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -0 lines) Patch
M src/compiler/simplified-lowering.cc View 1 2 chunks +14 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (8 generated)
Benedikt Meurer
3 years, 8 months ago (2017-03-31 19:00:28 UTC) #1
Benedikt Meurer
Hey Jaro, Spotted this in react.js, for example in updateMultiChild, where curChildrenDOMIndex is held in ...
3 years, 8 months ago (2017-03-31 19:02:52 UTC) #4
Jarin
So how much exactly does this help?
3 years, 8 months ago (2017-04-03 06:57:58 UTC) #7
Jarin
lgtm https://codereview.chromium.org/2790833004/diff/1/src/compiler/simplified-lowering.cc File src/compiler/simplified-lowering.cc (right): https://codereview.chromium.org/2790833004/diff/1/src/compiler/simplified-lowering.cc#newcode1627 src/compiler/simplified-lowering.cc:1627: } else if (IsNodeRepresentationFloat64(lhs) || Insert a comment ...
3 years, 8 months ago (2017-04-03 07:58:19 UTC) #8
Benedikt Meurer
https://codereview.chromium.org/2790833004/diff/1/src/compiler/simplified-lowering.cc File src/compiler/simplified-lowering.cc (right): https://codereview.chromium.org/2790833004/diff/1/src/compiler/simplified-lowering.cc#newcode1627 src/compiler/simplified-lowering.cc:1627: } else if (IsNodeRepresentationFloat64(lhs) || On 2017/04/03 07:58:19, Jarin ...
3 years, 8 months ago (2017-04-03 08:00:28 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2790833004/20001
3 years, 8 months ago (2017-04-03 08:00:37 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/v8/v8/+/8af394d6d385daf05b73765a2545ac8f266c64c7
3 years, 8 months ago (2017-04-03 08:24:10 UTC) #15
Benedikt Meurer
3 years, 8 months ago (2017-04-07 10:36:45 UTC) #16
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/2801233002/ by bmeurer@chromium.org.

The reason for reverting is: Doesn't really move the needle, but tanks
Kraken/imaging-gaussian-blur (crbug.com/709396), so reverting for now..

Powered by Google App Engine
This is Rietveld 408576698