Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Issue 1908093002: [turbofan] Optimize tagged conversion based on type. (Closed)

Created:
4 years, 8 months ago by Benedikt Meurer
Modified:
4 years, 8 months ago
Reviewers:
Jarin
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan] Optimize tagged conversion based on type. If we have to convert a float64 value to tagged representation and we already know that the value is either in Signed31/Signed32 or Unsigned32 range, then we can just convert the float64 to word32 and use the fast word32 to tagged conversion. Doing this in ChangeLowering (or the effect linearization pass) would be unsound, as the types on the nodes are no longer usable. This removes all Type uses from effect linearization. There's still some work to be done for ChangeLowering tho. [email protected] Committed: https://crrev.com/861295bf167f045a3323fac086261b8bb264f8b3 Cr-Commit-Position: refs/heads/master@{#35713}

Patch Set 1 : #

Patch Set 2 : Fix ChangeLowering::ChangeUint32ToTagged too. #

Patch Set 3 : Fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+147 lines, -121 lines) Patch
M src/compiler/change-lowering.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/change-lowering.cc View 1 5 chunks +48 lines, -58 lines 0 comments Download
M src/compiler/effect-control-linearizer.cc View 4 chunks +26 lines, -41 lines 0 comments Download
M src/compiler/opcodes.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/pipeline.cc View 1 chunk +0 lines, -1 line 0 comments Download
M src/compiler/representation-change.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/compiler/representation-change.cc View 3 chunks +27 lines, -3 lines 0 comments Download
M src/compiler/simplified-operator.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/simplified-operator.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/simplified-operator-reducer.cc View 3 chunks +5 lines, -2 lines 0 comments Download
M src/compiler/typer.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M src/compiler/verifier.cc View 1 chunk +9 lines, -0 lines 0 comments Download
M test/cctest/compiler/test-representation-change.cc View 1 chunk +15 lines, -1 line 0 comments Download
M test/cctest/compiler/test-simplified-lowering.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M test/unittests/compiler/change-lowering-unittest.cc View 1 2 1 chunk +2 lines, -13 lines 0 comments Download

Messages

Total messages: 21 (12 generated)
Benedikt Meurer
4 years, 8 months ago (2016-04-21 18:43:34 UTC) #1
Benedikt Meurer
Hey Jaro, Start moving access to types out of ChangeLowering. Please take a look. Thanks, ...
4 years, 8 months ago (2016-04-21 18:51:33 UTC) #2
Jarin
Nice. lgtm.
4 years, 8 months ago (2016-04-22 07:08:20 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1908093002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1908093002/40001
4 years, 8 months ago (2016-04-22 07:08:45 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1908093002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1908093002/60001
4 years, 8 months ago (2016-04-22 07:29:55 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: v8_win_nosnap_shared_rel_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_win_nosnap_shared_rel_ng/builds/652) v8_win_nosnap_shared_rel_ng_triggered on tryserver.v8 (JOB_FAILED, ...
4 years, 8 months ago (2016-04-22 07:42:18 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1908093002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1908093002/80001
4 years, 8 months ago (2016-04-22 08:17:24 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:80001)
4 years, 8 months ago (2016-04-22 08:39:37 UTC) #19
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:15:03 UTC) #21
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/861295bf167f045a3323fac086261b8bb264f8b3
Cr-Commit-Position: refs/heads/master@{#35713}

Powered by Google App Engine
This is Rietveld 408576698