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

Issue 1075363002: Add a basic TargetARM32 skeleton which knows nothing. (Closed)

Created:
5 years, 8 months ago by jvoung (off chromium)
Modified:
5 years, 8 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

Add a basic TargetARM32 skeleton which knows nothing. Later commits will add more information, but this tests the conditional compilation and build setup. One way to do conditional compilation: determine this early, at LLVM configure/CMake time. Configure will fill in the template of SZTargets.def.in to get a SZTargets.def file. LLVM change: https://codereview.chromium.org/1084753002/ NaCl change: https://codereview.chromium.org/1082953002/ I suppose an alternative is to fill in the .def file via -D flags in CXXFLAGS. For conditional lit testing, pnacl-sz dumps the attributes when given the --build-atts so we just build on top of that. We do that instead of go the LLVM way of filling in a lit.site.cfg.in -> lit.site.cfg at configure/CMake time. BUG= https://code.google.com/p/nativeclient/issues/detail?id=4076 R=stichnot@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=b36ad9b4021b409dfb925ce51196a1abb4dfcb62

Patch Set 1 #

Patch Set 2 : reduce and format #

Patch Set 3 : more stuff #

Patch Set 4 : create assembler #

Patch Set 5 : typos #

Total comments: 23

Patch Set 6 : some review #

Patch Set 7 : next label #

Patch Set 8 : helper #

Patch Set 9 : move makeHelperCall #

Patch Set 10 : more stuff #

Patch Set 11 : remove comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1141 lines, -45 lines) Patch
M Makefile.standalone View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/IceCompiler.cpp View 1 2 1 chunk +7 lines, -1 line 0 comments Download
A src/IceInstARM32.h View 1 2 3 4 5 1 chunk +28 lines, -0 lines 0 comments Download
A src/IceInstARM32.def View 1 2 3 4 5 1 chunk +65 lines, -0 lines 0 comments Download
M src/IceInstX8632.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
A src/IceRegistersARM32.h View 1 1 chunk +62 lines, -0 lines 0 comments Download
M src/IceTargetLowering.h View 1 2 3 4 5 6 7 8 4 chunks +7 lines, -0 lines 0 comments Download
M src/IceTargetLowering.cpp View 1 2 3 4 5 6 7 8 9 10 3 chunks +31 lines, -28 lines 0 comments Download
A src/IceTargetLoweringARM32.h View 1 2 3 4 5 6 7 1 chunk +130 lines, -0 lines 0 comments Download
A src/IceTargetLoweringARM32.cpp View 1 2 3 4 5 1 chunk +705 lines, -0 lines 0 comments Download
A src/IceTargetLoweringARM32.def View 1 1 chunk +20 lines, -0 lines 0 comments Download
M src/IceTargetLoweringX8632.h View 1 2 3 4 5 6 7 3 chunks +0 lines, -11 lines 0 comments Download
M src/IceTargetLoweringX8632.cpp View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
A src/assembler_arm32.h View 1 2 3 4 5 1 chunk +72 lines, -0 lines 0 comments Download
M src/assembler_ia32.h View 1 2 3 4 5 3 chunks +4 lines, -3 lines 0 comments Download
M tests_lit/llvm2ice_tests/arith-opt.ll View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
jvoung (off chromium)
And here's the example of how https://codereview.chromium.org/1082953002/ might use the .def file.
5 years, 8 months ago (2015-04-14 00:30:07 UTC) #2
Jim Stichnoth
otherwise lgtm https://codereview.chromium.org/1075363002/diff/80001/src/IceInstARM32.def File src/IceInstARM32.def (right): https://codereview.chromium.org/1075363002/diff/80001/src/IceInstARM32.def#newcode18 src/IceInstARM32.def:18: // For the NaCl sandbox we also ...
5 years, 8 months ago (2015-04-17 19:16:02 UTC) #3
jvoung (off chromium)
https://codereview.chromium.org/1075363002/diff/80001/src/IceInstARM32.def File src/IceInstARM32.def (right): https://codereview.chromium.org/1075363002/diff/80001/src/IceInstARM32.def#newcode18 src/IceInstARM32.def:18: // For the NaCl sandbox we also need to ...
5 years, 8 months ago (2015-04-21 17:05:30 UTC) #4
Jim Stichnoth
Thanks, still lgtm. https://codereview.chromium.org/1075363002/diff/80001/src/IceInstARM32.h File src/IceInstARM32.h (right): https://codereview.chromium.org/1075363002/diff/80001/src/IceInstARM32.h#newcode1 src/IceInstARM32.h:1: //===- subzero/src/IceInstARM32.h - Low-level ARM instructions ...
5 years, 8 months ago (2015-04-21 17:10:36 UTC) #5
jvoung (off chromium)
5 years, 8 months ago (2015-04-22 00:01:54 UTC) #6
Message was sent while issue was closed.
Committed patchset #11 (id:200001) manually as
b36ad9b4021b409dfb925ce51196a1abb4dfcb62 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698