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

Issue 2749023005: [turbofan] Try to allocate preferred register after splitting range. (Closed)

Created:
3 years, 9 months ago by georgia.kouveli
Modified:
3 years, 9 months ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan] Try to allocate preferred register after splitting range. This shows an improvement in the code size of the bytecode handlers. When a range is split (because for example the preferred register gets clobbered by a call and is not available for the whole range), trying to allocate the preferred register for the first range that results from the split avoids some extra register moves. BUG= Review-Url: https://codereview.chromium.org/2749023005 Cr-Commit-Position: refs/heads/master@{#43905} Committed: https://chromium.googlesource.com/v8/v8/+/9e074945096dbf309e0542dfb6c30f4cf6624cc4

Patch Set 1 #

Total comments: 2

Patch Set 2 : [turbofan] Try to allocate preferred register after splitting range. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -0 lines) Patch
M src/compiler/register-allocator.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (9 generated)
georgia.kouveli
3 years, 9 months ago (2017-03-15 11:41:13 UTC) #3
Benedikt Meurer
jarin@ and mtrofin@ should review this.
3 years, 9 months ago (2017-03-16 06:10:31 UTC) #6
Jarin
lgtm, let's wait for Mircea's opinion. https://codereview.chromium.org/2749023005/diff/1/src/compiler/register-allocator.cc File src/compiler/register-allocator.cc (right): https://codereview.chromium.org/2749023005/diff/1/src/compiler/register-allocator.cc#newcode3156 src/compiler/register-allocator.cc:3156: if (TryAllocatePreferredReg(current, free_until_pos)) ...
3 years, 9 months ago (2017-03-16 06:24:29 UTC) #8
georgia.kouveli
https://codereview.chromium.org/2749023005/diff/1/src/compiler/register-allocator.cc File src/compiler/register-allocator.cc (right): https://codereview.chromium.org/2749023005/diff/1/src/compiler/register-allocator.cc#newcode3156 src/compiler/register-allocator.cc:3156: if (TryAllocatePreferredReg(current, free_until_pos)) return true; On 2017/03/16 06:24:28, Jarin ...
3 years, 9 months ago (2017-03-16 14:07:32 UTC) #9
Mircea Trofin
On 2017/03/16 14:07:32, georgia.kouveli wrote: > https://codereview.chromium.org/2749023005/diff/1/src/compiler/register-allocator.cc > File src/compiler/register-allocator.cc (right): > > https://codereview.chromium.org/2749023005/diff/1/src/compiler/register-allocator.cc#newcode3156 > ...
3 years, 9 months ago (2017-03-17 13:42:30 UTC) #10
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/2749023005/20001
3 years, 9 months ago (2017-03-17 14:14:35 UTC) #13
georgia.kouveli
On 2017/03/17 13:42:30, Mircea Trofin wrote: > On 2017/03/16 14:07:32, georgia.kouveli wrote: > > > ...
3 years, 9 months ago (2017-03-17 14:26:35 UTC) #14
Mircea Trofin
On 2017/03/17 14:26:35, georgia.kouveli wrote: > On 2017/03/17 13:42:30, Mircea Trofin wrote: > > On ...
3 years, 9 months ago (2017-03-17 14:31:14 UTC) #15
commit-bot: I haz the power
3 years, 9 months ago (2017-03-17 14:38:06 UTC) #18
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/v8/v8/+/9e074945096dbf309e0542dfb6c30f4cf66...

Powered by Google App Engine
This is Rietveld 408576698