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

Issue 1260093003: Introduce the ability to insert IACA (Intel Architecture Code Analyzer) marks to (Closed)

Created:
5 years, 4 months ago by ascull
Modified:
5 years, 4 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

Introduce the ability to insert IACA (Intel Architecture Code Analyzer) marks. The IACI marks identify the code which should be analyzed with the IACA. The generated binaries are not executable due to the marks. This feature should only be used during develpoment when analyzing generated code so it is protected behind the --allow-iaca-marks flag. ScopedIacaMark is a helper class which opens mark and closes it at the end of the scope. This is useful when there are many returns as you don't have to write `_iaca_end()` before them all. BUG= R=stichnot@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=2c862522bf373781c1345dfe1e7a257d6a12cd0a

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+216 lines, -12 lines) Patch
M src/IceAssemblerX86Base.h View 1 chunk +6 lines, -0 lines 0 comments Download
M src/IceAssemblerX86BaseImpl.h View 1 chunk +37 lines, -0 lines 0 comments Download
M src/IceClFlags.h View 2 chunks +4 lines, -0 lines 0 comments Download
M src/IceClFlags.cpp View 3 chunks +8 lines, -0 lines 0 comments Download
M src/IceGlobalContext.cpp View 1 chunk +10 lines, -11 lines 0 comments Download
M src/IceInstX86Base.h View 3 chunks +56 lines, -1 line 0 comments Download
M src/IceInstX86BaseImpl.h View 2 chunks +64 lines, -0 lines 0 comments Download
M src/IceTargetLoweringX86Base.h View 1 1 chunk +31 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
ascull
5 years, 4 months ago (2015-08-05 00:34:26 UTC) #2
Jim Stichnoth
Also, please edit the Subject and first line of the description to be 80 chars ...
5 years, 4 months ago (2015-08-05 05:08:19 UTC) #3
ascull
https://codereview.chromium.org/1260093003/diff/1/src/IceInstX86BaseImpl.h File src/IceInstX86BaseImpl.h (right): https://codereview.chromium.org/1260093003/diff/1/src/IceInstX86BaseImpl.h#newcode373 src/IceInstX86BaseImpl.h:373: assert(Func->getContext()->getFlags().getAllowIacaMarks()); On 2015/08/05 05:08:19, stichnot wrote: > This is ...
5 years, 4 months ago (2015-08-05 18:10:34 UTC) #4
Jim Stichnoth
Thanks, lgtm.
5 years, 4 months ago (2015-08-06 13:33:24 UTC) #5
ascull
5 years, 4 months ago (2015-08-06 15:41:57 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
2c862522bf373781c1345dfe1e7a257d6a12cd0a (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698