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

Issue 1127963004: Subzero ARM: lowerArguments (GPR), basic legalize(), and lowerRet(i32, i64). (Closed)

Created:
5 years, 7 months ago by jvoung (off chromium)
Modified:
5 years, 7 months ago
Reviewers:
Karl, Jim Stichnoth
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 ARM: lowerArguments (GPR), basic legalize(), and lowerRet(i32, i64). Adds basic assignment instructions, mov, movn, movw, movt, ldr, etc. in order to copy around the first few integer (i32, i64) arguments out of r0 - r3, and then return then. The "mov" instruction is a bit special and can actually be a "str" when the dest is a stack slot. Model the Memory operand types, and the "flexible Operand2". Add a few tests demonstrating the flexibility of the immediate encoding. 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=b3401d27a236b81393092b4d571df473b5bba64b

Patch Set 1 #

Patch Set 2 : add inversion #

Patch Set 3 : clang-format #

Total comments: 6

Patch Set 4 : oops cleanup #

Total comments: 20

Patch Set 5 : review 1 #

Patch Set 6 : one more #

Patch Set 7 : add comments #

Total comments: 4

Patch Set 8 : fix warnings, etc #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1779 lines, -107 lines) Patch
M src/IceInst.h View 1 2 3 4 5 6 2 chunks +6 lines, -0 lines 0 comments Download
M src/IceInst.cpp View 1 chunk +16 lines, -0 lines 0 comments Download
M src/IceInstARM32.h View 5 chunks +349 lines, -5 lines 0 comments Download
M src/IceInstARM32.cpp View 1 2 3 4 5 6 7 5 chunks +309 lines, -0 lines 0 comments Download
M src/IceInstARM32.def View 1 chunk +10 lines, -0 lines 0 comments Download
M src/IceInstX8632.h View 1 chunk +0 lines, -2 lines 0 comments Download
M src/IceInstX8632.cpp View 1 chunk +0 lines, -16 lines 0 comments Download
M src/IceOperand.h View 1 2 3 4 5 6 1 chunk +4 lines, -1 line 0 comments Download
M src/IceTargetLowering.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M src/IceTargetLowering.cpp View 1 chunk +16 lines, -0 lines 0 comments Download
M src/IceTargetLoweringARM32.h View 1 2 3 2 chunks +51 lines, -2 lines 0 comments Download
M src/IceTargetLoweringARM32.cpp View 1 2 3 4 5 6 7 8 chunks +510 lines, -66 lines 0 comments Download
M src/IceTargetLoweringX8632.cpp View 1 2 3 3 chunks +3 lines, -15 lines 0 comments Download
M src/IceUtils.h View 1 chunk +13 lines, -0 lines 0 comments Download
A tests_lit/llvm2ice_tests/int-arg.ll View 1 chunk +243 lines, -0 lines 0 comments Download
A tests_lit/llvm2ice_tests/return_immediates.ll View 1 2 3 4 5 1 chunk +245 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (1 generated)
jvoung (off chromium)
ty in advance ヽ(⌐■_■)ノ♪♬ https://codereview.chromium.org/1127963004/diff/40001/src/IceInstARM32.cpp File src/IceInstARM32.cpp (right): https://codereview.chromium.org/1127963004/diff/40001/src/IceInstARM32.cpp#newcode112 src/IceInstARM32.cpp:112: // Avoid the more expensive ...
5 years, 7 months ago (2015-05-14 22:42:07 UTC) #2
Jim Stichnoth
https://codereview.chromium.org/1127963004/diff/60001/src/IceInstARM32.cpp File src/IceInstARM32.cpp (right): https://codereview.chromium.org/1127963004/diff/60001/src/IceInstARM32.cpp#newcode61 src/IceInstARM32.cpp:61: Variable *Dest = Inst->getDest(); The x86 version asserts that ...
5 years, 7 months ago (2015-05-16 00:10:34 UTC) #3
jvoung (off chromium)
https://codereview.chromium.org/1127963004/diff/60001/src/IceInstARM32.cpp File src/IceInstARM32.cpp (right): https://codereview.chromium.org/1127963004/diff/60001/src/IceInstARM32.cpp#newcode61 src/IceInstARM32.cpp:61: Variable *Dest = Inst->getDest(); On 2015/05/16 00:10:34, stichnot wrote: ...
5 years, 7 months ago (2015-05-17 18:06:30 UTC) #4
Jim Stichnoth
lgtm https://codereview.chromium.org/1127963004/diff/60001/src/IceInstARM32.cpp File src/IceInstARM32.cpp (right): https://codereview.chromium.org/1127963004/diff/60001/src/IceInstARM32.cpp#newcode185 src/IceInstARM32.cpp:185: Str << ", "; On 2015/05/17 18:06:30, jvoung ...
5 years, 7 months ago (2015-05-18 02:10:52 UTC) #5
jvoung (off chromium)
https://codereview.chromium.org/1127963004/diff/60001/src/IceInstARM32.cpp File src/IceInstARM32.cpp (right): https://codereview.chromium.org/1127963004/diff/60001/src/IceInstARM32.cpp#newcode185 src/IceInstARM32.cpp:185: Str << ", "; On 2015/05/18 02:10:52, stichnot wrote: ...
5 years, 7 months ago (2015-05-18 16:26:47 UTC) #6
jvoung (off chromium)
5 years, 7 months ago (2015-05-18 16:38:27 UTC) #7
Message was sent while issue was closed.
Committed patchset #8 (id:140001) manually as
b3401d27a236b81393092b4d571df473b5bba64b (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698