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

Issue 1746613002: Subzero: Reduce copying of Liveness bitvectors. (Closed)

Created:
4 years, 9 months ago by Jim Stichnoth
Modified:
4 years, 9 months ago
Reviewers:
Eric Holk, Karl, sehr, John
CC:
native-client-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Subzero: Reduce copying of Liveness bitvectors. There were a lot of unnecessary copying and resizing and sloppiness in the use of BitVector for liveness analysis. This tries to reduce the amount of copying and associated memory allocation. Also, works around a ConstantRelocatable hashing problem that was causing a huge slowdown in MINIMAL mode for the vector_shuffle scons test. BUG= none R=jpp@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=1bdb73522937503501201ac387bc1477ea5fa29a

Patch Set 1 #

Patch Set 2 : Fix huge perf problem in MINIMAL build #

Total comments: 14

Patch Set 3 : Code review changes #

Patch Set 4 : Fix memory over-allocation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -58 lines) Patch
M src/IceBitVector.h View 1 2 3 6 chunks +14 lines, -8 lines 0 comments Download
M src/IceCfg.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M src/IceCfg.cpp View 1 2 2 chunks +9 lines, -4 lines 0 comments Download
M src/IceCfgNode.cpp View 1 2 8 chunks +55 lines, -45 lines 0 comments Download
M src/IceInstX86BaseImpl.h View 1 1 chunk +4 lines, -1 line 0 comments Download
M src/IceLiveness.h View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M src/IceLiveness.cpp View 1 2 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (4 generated)
Jim Stichnoth
4 years, 9 months ago (2016-02-28 20:12:34 UTC) #3
John
https://codereview.chromium.org/1746613002/diff/20001/src/IceCfg.cpp File src/IceCfg.cpp (right): https://codereview.chromium.org/1746613002/diff/20001/src/IceCfg.cpp#newcode343 src/IceCfg.cpp:343: (*I)->liveness(getLiveness(), &ScratchBV); make scratchbv a member of Liveness? https://codereview.chromium.org/1746613002/diff/20001/src/IceCfg.cpp#newcode1083 ...
4 years, 9 months ago (2016-02-29 15:12:31 UTC) #4
Jim Stichnoth
https://codereview.chromium.org/1746613002/diff/20001/src/IceCfg.cpp File src/IceCfg.cpp (right): https://codereview.chromium.org/1746613002/diff/20001/src/IceCfg.cpp#newcode343 src/IceCfg.cpp:343: (*I)->liveness(getLiveness(), &ScratchBV); On 2016/02/29 15:12:31, John wrote: > make ...
4 years, 9 months ago (2016-02-29 22:58:26 UTC) #6
John
lgtm
4 years, 9 months ago (2016-03-01 00:04:13 UTC) #7
Jim Stichnoth
4 years, 9 months ago (2016-03-01 00:58:18 UTC) #9
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
1bdb73522937503501201ac387bc1477ea5fa29a (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698