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

Issue 1523873003: Subzero: Separate "\t" from "opcode" in asm emission. (Closed)

Created:
5 years ago by Jim Stichnoth
Modified:
5 years ago
Reviewers:
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: Separate "\t" from "opcode" in asm emission. Instead of output like this: Str << "\tmov\t" << ... we prefer to use string concatenation: Str << "\t" "mov\t" << ... That way, "git grep -w mov" can be used for more precise pattern matching. BUG= none R=kschimpf@google.com Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=6106df803dbfd6f1cdf277bacb5437c567ec607f

Patch Set 1 #

Patch Set 2 : Use string concatenation where possible #

Total comments: 2

Patch Set 3 : Fix dmb issue #

Unified diffs Side-by-side diffs Delta from patch set Stats (+136 lines, -87 lines) Patch
M src/IceAssemblerARM32.cpp View 1 2 chunks +3 lines, -2 lines 0 comments Download
M src/IceInst.cpp View 1 1 chunk +2 lines, -1 line 0 comments Download
M src/IceInstARM32.cpp View 1 2 8 chunks +13 lines, -12 lines 0 comments Download
M src/IceInstMIPS32.cpp View 1 2 chunks +4 lines, -4 lines 0 comments Download
M src/IceInstX86BaseImpl.h View 1 2 38 chunks +110 lines, -66 lines 0 comments Download
M src/IceTargetLoweringMIPS32.cpp View 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
Jim Stichnoth
5 years ago (2015-12-14 21:57:34 UTC) #3
Roland McGrath
If you use string concatentation instead, you get the same greppability with no runtime overhead ...
5 years ago (2015-12-14 22:08:57 UTC) #4
Jim Stichnoth
On 2015/12/14 22:08:57, Roland McGrath wrote: > If you use string concatentation instead, you get ...
5 years ago (2015-12-14 23:00:39 UTC) #6
Karl
lgtm https://codereview.chromium.org/1523873003/diff/20001/src/IceInstARM32.cpp File src/IceInstARM32.cpp (right): https://codereview.chromium.org/1523873003/diff/20001/src/IceInstARM32.cpp#newcode1794 src/IceInstARM32.cpp:1794: << "sy"; Slight inconsistency here? dmb is the ...
5 years ago (2015-12-15 17:33:10 UTC) #7
Jim Stichnoth
https://codereview.chromium.org/1523873003/diff/20001/src/IceInstARM32.cpp File src/IceInstARM32.cpp (right): https://codereview.chromium.org/1523873003/diff/20001/src/IceInstARM32.cpp#newcode1794 src/IceInstARM32.cpp:1794: << "sy"; On 2015/12/15 17:33:10, Karl wrote: > Slight ...
5 years ago (2015-12-16 14:05:12 UTC) #8
Jim Stichnoth
5 years ago (2015-12-16 14:18:03 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
6106df803dbfd6f1cdf277bacb5437c567ec607f (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698