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

Issue 310003003: More aggressive reuse of spill slots in the register allocator. (Closed)

Created:
6 years, 6 months ago by Jarin
Modified:
6 years, 3 months ago
Reviewers:
titzer
CC:
v8-dev
Visibility:
Public.

Description

More aggressive reuse of spill slots in the register allocator. Two improvements: - At phi nodes, we now try to merge operands into one spill slot and then reuse the spill slot for the phi. - After register allocation we merge disjoint spill slots. With this change, I see about 4% improvement in zlib. BUG= R=titzer@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=23532

Patch Set 1 #

Total comments: 6

Patch Set 2 : Use spill range pointer (rather than id), prune based on spill range interval #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+314 lines, -46 lines) Patch
M src/hydrogen.cc View 1 2 1 chunk +10 lines, -5 lines 0 comments Download
M src/lithium-allocator.h View 1 2 8 chunks +38 lines, -2 lines 0 comments Download
M src/lithium-allocator.cc View 1 2 15 chunks +266 lines, -39 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Jarin
6 years, 6 months ago (2014-06-04 06:03:24 UTC) #1
titzer
https://codereview.chromium.org/310003003/diff/1/src/lithium-allocator.cc File src/lithium-allocator.cc (right): https://codereview.chromium.org/310003003/diff/1/src/lithium-allocator.cc#newcode1134 src/lithium-allocator.cc:1134: while (interval1 != NULL && interval2 != NULL) { ...
6 years, 6 months ago (2014-06-17 09:01:35 UTC) #2
Jarin
https://codereview.chromium.org/310003003/diff/1/src/lithium-allocator.cc File src/lithium-allocator.cc (right): https://codereview.chromium.org/310003003/diff/1/src/lithium-allocator.cc#newcode1134 src/lithium-allocator.cc:1134: while (interval1 != NULL && interval2 != NULL) { ...
6 years, 6 months ago (2014-06-24 21:49:58 UTC) #3
Jarin
On 2014/06/24 21:49:58, jarin wrote: > https://codereview.chromium.org/310003003/diff/1/src/lithium-allocator.cc > File src/lithium-allocator.cc (right): > > https://codereview.chromium.org/310003003/diff/1/src/lithium-allocator.cc#newcode1134 > ...
6 years, 5 months ago (2014-07-16 15:23:50 UTC) #4
titzer
lgtm
6 years, 5 months ago (2014-07-19 15:05:50 UTC) #5
Jarin
6 years, 3 months ago (2014-08-30 15:50:34 UTC) #6
Message was sent while issue was closed.
Committed patchset #3 manually as 23532 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698