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

Issue 622553003: Subzero: Improve regalloc performance by optimizing UnhandledPrecolored. (Closed)

Created:
6 years, 2 months ago by Jim Stichnoth
Modified:
6 years, 2 months ago
CC:
native-client-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Visibility:
Public.

Description

Subzero: Improve regalloc performance by optimizing UnhandledPrecolored. A lot of time was being spent in the two loops that check precolored ranges in the Unhandled set, specifically in the endsBefore() check. Solve this by keeping a shadow copy of Unhandled, restricted to the ranges that are precolored. BUG= none R=jvoung@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=541ba667f21a4f21a4d8d68e685d522bd0005bea

Patch Set 1 #

Total comments: 8

Patch Set 2 : Code review changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -24 lines) Patch
M src/IceRegAlloc.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/IceRegAlloc.cpp View 1 7 chunks +23 lines, -24 lines 0 comments Download
M src/IceTargetLoweringX8632.cpp View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (1 generated)
Jim Stichnoth
This improves 176.gcc translation time by almost 10%.
6 years, 2 months ago (2014-10-02 14:09:37 UTC) #2
jvoung (off chromium)
cool! https://codereview.chromium.org/622553003/diff/1/src/IceRegAlloc.cpp File src/IceRegAlloc.cpp (right): https://codereview.chromium.org/622553003/diff/1/src/IceRegAlloc.cpp#newcode100 src/IceRegAlloc.cpp:100: continue; Tiny nit: I don't know if it ...
6 years, 2 months ago (2014-10-02 16:08:18 UTC) #3
jvoung (off chromium)
https://codereview.chromium.org/622553003/diff/1/src/IceRegAlloc.cpp File src/IceRegAlloc.cpp (right): https://codereview.chromium.org/622553003/diff/1/src/IceRegAlloc.cpp#newcode100 src/IceRegAlloc.cpp:100: continue; On 2014/10/02 16:08:18, jvoung wrote: > Tiny nit: ...
6 years, 2 months ago (2014-10-02 17:00:06 UTC) #4
Jim Stichnoth
https://codereview.chromium.org/622553003/diff/1/src/IceRegAlloc.cpp File src/IceRegAlloc.cpp (right): https://codereview.chromium.org/622553003/diff/1/src/IceRegAlloc.cpp#newcode100 src/IceRegAlloc.cpp:100: continue; On 2014/10/02 16:08:18, jvoung wrote: > Tiny nit: ...
6 years, 2 months ago (2014-10-02 19:41:48 UTC) #5
jvoung (off chromium)
LGTM
6 years, 2 months ago (2014-10-02 19:52:21 UTC) #6
Jim Stichnoth
6 years, 2 months ago (2014-10-02 19:58:30 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
541ba667f21a4f21a4d8d68e685d522bd0005bea (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698