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

Issue 1397933002: Start incorporating the ARM integrated assembler. (Closed)

Created:
5 years, 2 months ago by Karl
Modified:
5 years, 2 months ago
Reviewers:
Jim Stichnoth, 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

Start incorporating the ARM integrated assembler. Extends the ARM32 assembler to be able to generate a trivial function footprint using the -filetype=iasm option. Also does a couple of cleanups: 1) Move UnimplementedError macro to common location so that it can be used by everyone. 2) Add a GlobalContext argument to the assembler, so that it can look at flags etc. BUG= https://code.google.com/p/nativeclient/issues/detail?id=4334 R=stichnot@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=c5abdc1301260c79f60d60ec1117e8044312da30

Patch Set 1 #

Patch Set 2 : Clean up code. #

Total comments: 37

Patch Set 3 : Fix issues in patch set 2. #

Total comments: 2

Patch Set 4 : Fix nit and add URL. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+343 lines, -58 lines) Patch
M Makefile.standalone View 1 chunk +1 line, -0 lines 0 comments Download
M src/DartARM32/assembler_arm.h View 1 5 chunks +9 lines, -2 lines 0 comments Download
M src/DartARM32/assembler_arm.cc View 1 5 chunks +11 lines, -2 lines 0 comments Download
M src/IceAssembler.h View 1 2 5 chunks +8 lines, -5 lines 0 comments Download
M src/IceAssembler.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/IceAssemblerARM32.h View 1 2 3 3 chunks +174 lines, -7 lines 0 comments Download
A src/IceAssemblerARM32.cpp View 1 2 1 chunk +75 lines, -0 lines 0 comments Download
M src/IceAssemblerMIPS32.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/IceAssemblerX8632.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/IceAssemblerX8664.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/IceAssemblerX86Base.h View 1 chunk +3 lines, -2 lines 0 comments Download
M src/IceGlobalContext.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/IceInstARM32.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M src/IceTargetLowering.h View 1 chunk +12 lines, -0 lines 0 comments Download
M src/IceTargetLowering.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/IceTargetLoweringARM32.cpp View 3 chunks +3 lines, -18 lines 0 comments Download
M src/IceTargetLoweringMIPS32.cpp View 1 chunk +0 lines, -11 lines 0 comments Download
A tests_lit/assembler/arm32/ret.ll View 1 2 1 chunk +36 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (1 generated)
Karl
5 years, 2 months ago (2015-10-08 22:48:16 UTC) #2
Jim Stichnoth
https://chromiumcodereview.appspot.com/1397933002/diff/20001/src/IceAssembler.h File src/IceAssembler.h (right): https://chromiumcodereview.appspot.com/1397933002/diff/20001/src/IceAssembler.h#newcode33 src/IceAssembler.h:33: class GlobalContext; GlobalContext is already forward-declared in IceDefs.h. https://chromiumcodereview.appspot.com/1397933002/diff/20001/src/IceAssembler.h#newcode279 ...
5 years, 2 months ago (2015-10-08 23:50:41 UTC) #3
John
https://chromiumcodereview.appspot.com/1397933002/diff/20001/src/IceAssembler.h File src/IceAssembler.h (right): https://chromiumcodereview.appspot.com/1397933002/diff/20001/src/IceAssembler.h#newcode33 src/IceAssembler.h:33: class GlobalContext; On 2015/10/08 23:50:41, stichnot wrote: > GlobalContext ...
5 years, 2 months ago (2015-10-09 12:12:24 UTC) #4
Jim Stichnoth
https://chromiumcodereview.appspot.com/1397933002/diff/20001/src/IceAssembler.h File src/IceAssembler.h (right): https://chromiumcodereview.appspot.com/1397933002/diff/20001/src/IceAssembler.h#newcode33 src/IceAssembler.h:33: class GlobalContext; On 2015/10/09 12:12:23, John wrote: > On ...
5 years, 2 months ago (2015-10-09 13:36:30 UTC) #5
Karl
https://chromiumcodereview.appspot.com/1397933002/diff/20001/src/IceAssembler.h File src/IceAssembler.h (right): https://chromiumcodereview.appspot.com/1397933002/diff/20001/src/IceAssembler.h#newcode33 src/IceAssembler.h:33: class GlobalContext; On 2015/10/09 13:36:30, stichnot wrote: > On ...
5 years, 2 months ago (2015-10-09 19:08:18 UTC) #6
Jim Stichnoth
lgtm https://chromiumcodereview.appspot.com/1397933002/diff/20001/src/IceTargetLowering.h File src/IceTargetLowering.h (right): https://chromiumcodereview.appspot.com/1397933002/diff/20001/src/IceTargetLowering.h#newcode35 src/IceTargetLowering.h:35: if (!static_cast<const ClFlags &>(Flags).getSkipUnimplemented()) { \ On 2015/10/09 ...
5 years, 2 months ago (2015-10-09 20:05:45 UTC) #7
Karl
Committed patchset #4 (id:60001) manually as c5abdc1301260c79f60d60ec1117e8044312da30 (presubmit successful).
5 years, 2 months ago (2015-10-09 20:29:17 UTC) #8
Karl
5 years, 2 months ago (2015-10-09 20:29:32 UTC) #9
Message was sent while issue was closed.
https://chromiumcodereview.appspot.com/1397933002/diff/40001/src/IceAssembler...
File src/IceAssemblerARM32.h (right):

https://chromiumcodereview.appspot.com/1397933002/diff/40001/src/IceAssembler...
src/IceAssemblerARM32.h:156: // Manual, ARMv7-A and ARMv7-R edition"
On 2015/10/09 20:05:45, stichnot wrote:
> End sentence with a period.
> 
> Also, it would be really nice for the lazy if you could include a URL, even at
> the risk of it going stale in the future.

Done.

Powered by Google App Engine
This is Rietveld 408576698