Chromium Code Reviews

Issue 1738683003: Subzero. Moar performance tweaks. (Closed)

Created:
4 years, 10 months ago by John
Modified:
4 years, 10 months ago
Reviewers:
Jim Stichnoth, sehr, Eric Holk
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. Moar performance tweaks. 1) Clones llvm::BitVector, and makes it Allocator aware (using the CfgLocalAllocator<>) 2) Uses mallopt to set the malloc granularity. The default granularity is too small, which forces too many mmap calls. BUG= R=sehr@chromium.org, stichnot@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=36d6aa6545570a246a1b68d7f0ca37daea67a33a

Patch Set 1 #

Patch Set 2 : Make format. #

Patch Set 3 : fixes GPLUSPLUS=1 #

Total comments: 9

Patch Set 4 : Addresses comments #

Total comments: 2
Unified diffs Side-by-side diffs Stats (+599 lines, -14 lines)
M src/IceBitVector.h View 2 chunks +570 lines, -4 lines 2 comments
M src/IceCfg.cpp View 5 chunks +6 lines, -5 lines 0 comments
M src/IceDefs.h View 3 chunks +2 lines, -2 lines 0 comments
M src/IceLiveness.h View 2 chunks +3 lines, -2 lines 0 comments
M src/IceRNG.cpp View 1 chunk +1 line, -0 lines 0 comments
M src/IceTargetLowering.cpp View 2 chunks +2 lines, -1 line 0 comments
M src/IceTypes.cpp View 1 chunk +2 lines, -0 lines 0 comments
M src/main.cpp View 2 chunks +13 lines, -0 lines 0 comments

Messages

Total messages: 8 (2 generated)
John
4 years, 10 months ago (2016-02-25 22:20:39 UTC) #2
Jim Stichnoth
lgtm https://codereview.chromium.org/1738683003/diff/40001/src/IceBitVector.h File src/IceBitVector.h (right): https://codereview.chromium.org/1738683003/diff/40001/src/IceBitVector.h#newcode12 src/IceBitVector.h:12: /// in replacement for llvm::SmallBitVector in subzero -- ...
4 years, 10 months ago (2016-02-26 02:08:29 UTC) #3
sehr
LGTM. https://codereview.chromium.org/1738683003/diff/40001/src/main.cpp File src/main.cpp (right): https://codereview.chromium.org/1738683003/diff/40001/src/main.cpp#newcode33 src/main.cpp:33: #ifdef __pnacl__ Comment here that the pnacl implementation ...
4 years, 10 months ago (2016-02-26 03:27:40 UTC) #4
John
https://codereview.chromium.org/1738683003/diff/40001/src/IceBitVector.h File src/IceBitVector.h (right): https://codereview.chromium.org/1738683003/diff/40001/src/IceBitVector.h#newcode12 src/IceBitVector.h:12: /// in replacement for llvm::SmallBitVector in subzero -- i.e., ...
4 years, 10 months ago (2016-02-26 15:15:50 UTC) #5
Jim Stichnoth
still lgtm https://codereview.chromium.org/1738683003/diff/40001/src/IceBitVector.h File src/IceBitVector.h (right): https://codereview.chromium.org/1738683003/diff/40001/src/IceBitVector.h#newcode23 src/IceBitVector.h:23: #include "llvm/Support/Compiler.h" On 2016/02/26 15:15:50, John wrote: ...
4 years, 10 months ago (2016-02-26 15:18:23 UTC) #6
John
4 years, 10 months ago (2016-02-26 15:20:05 UTC) #8
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
36d6aa6545570a246a1b68d7f0ca37daea67a33a (presubmit successful).

Powered by Google App Engine