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

Issue 682983004: Subzero: Decorate the text asm output with register availability info. (Closed)

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

Description

Subzero: Decorate the text asm output with register availability info. The -asm-verbose flag adds comments to the text asm output about register availability. Specifically, it prints the registers in use at the beginning and end of each block, and it prints which registers' live ranges end at each instruction. This is extremely helpful when studying the output to find opportunities to improve the code quality. BUG= none R=jvoung@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=3d44fe8c06eb403ea499e563db886615f0fa2164

Patch Set 1 #

Patch Set 2 : Refactor LiveIn/LiveOut printing into a common routine #

Total comments: 8

Patch Set 3 : Change to -asm-verbose. Make another emit helper function. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -21 lines) Patch
M src/IceCfg.h View 1 chunk +0 lines, -1 line 0 comments Download
M src/IceCfg.cpp View 2 chunks +14 lines, -13 lines 0 comments Download
M src/IceCfgNode.cpp View 1 2 5 chunks +83 lines, -2 lines 0 comments Download
M src/IceClFlags.h View 1 2 chunks +3 lines, -2 lines 0 comments Download
M src/IceTargetLowering.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/IceTargetLoweringX8632.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/IceTargetLoweringX8632.cpp View 2 chunks +0 lines, -3 lines 0 comments Download
M src/llvm2ice.cpp View 1 2 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
Jim Stichnoth
6 years, 1 month ago (2014-10-31 00:06:02 UTC) #2
jvoung (off chromium)
https://codereview.chromium.org/682983004/diff/20001/src/IceCfgNode.cpp File src/IceCfgNode.cpp (right): https://codereview.chromium.org/682983004/diff/20001/src/IceCfgNode.cpp#newcode759 src/IceCfgNode.cpp:759: if (I->isUnconditionalBranch()) This doesn't seem to check anymore if ...
6 years, 1 month ago (2014-10-31 16:56:42 UTC) #3
Jim Stichnoth
https://codereview.chromium.org/682983004/diff/20001/src/IceCfgNode.cpp File src/IceCfgNode.cpp (right): https://codereview.chromium.org/682983004/diff/20001/src/IceCfgNode.cpp#newcode759 src/IceCfgNode.cpp:759: if (I->isUnconditionalBranch()) On 2014/10/31 16:56:42, jvoung wrote: > This ...
6 years, 1 month ago (2014-11-01 14:49:40 UTC) #4
jvoung (off chromium)
lgtm
6 years, 1 month ago (2014-11-01 16:39:12 UTC) #5
Jim Stichnoth
6 years, 1 month ago (2014-11-01 17:10:24 UTC) #6
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
3d44fe8c06eb403ea499e563db886615f0fa2164 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698