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

Issue 1158113002: Subzero: More asm-verbose fixes. (Closed)

Created:
5 years, 7 months ago by Jim Stichnoth
Modified:
5 years, 7 months ago
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: More asm-verbose fixes. It turns out that code deleted in 9a05aea88a8d9484d5f0ea1f2eabf52ee5a3647f actually had a legitimate purpose, so it is added back, this time with more extensive comments justifying it. Also, takes the instruction's IsDestNonKillable flag into account when updating the live register usage count (along with extra comments on why that is necessary). Furthermore, removes an unnecessary assert that otherwise fails when --asm-verbose is used with --filetype=iasm or --filetype-obj. BUG= none R=jvoung@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=b82baf2f057520ed42c527bec8da58520eb03162

Patch Set 1 #

Total comments: 2

Patch Set 2 : More fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -7 lines) Patch
M src/IceCfg.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M src/IceCfgNode.cpp View 1 3 chunks +28 lines, -6 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
Jim Stichnoth
5 years, 7 months ago (2015-05-26 23:59:29 UTC) #2
jvoung (off chromium)
https://codereview.chromium.org/1158113002/diff/1/src/IceCfgNode.cpp File src/IceCfgNode.cpp (right): https://codereview.chromium.org/1158113002/diff/1/src/IceCfgNode.cpp#newcode918 src/IceCfgNode.cpp:918: if (DecorateAsm && Dest->hasReg() && !I.isLastUse(I.getSrc(0))) Just checking -- ...
5 years, 7 months ago (2015-05-27 15:58:57 UTC) #3
Jim Stichnoth
https://codereview.chromium.org/1158113002/diff/1/src/IceCfgNode.cpp File src/IceCfgNode.cpp (right): https://codereview.chromium.org/1158113002/diff/1/src/IceCfgNode.cpp#newcode918 src/IceCfgNode.cpp:918: if (DecorateAsm && Dest->hasReg() && !I.isLastUse(I.getSrc(0))) On 2015/05/27 15:58:56, ...
5 years, 7 months ago (2015-05-27 16:08:55 UTC) #4
jvoung (off chromium)
lgtm
5 years, 7 months ago (2015-05-27 16:54:10 UTC) #5
Jim Stichnoth
5 years, 7 months ago (2015-05-27 17:41:12 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
b82baf2f057520ed42c527bec8da58520eb03162 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698