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

Issue 1187513006: ARM: Assign "actuals" at call site to the appropriate GPR/stack slot. (Closed)

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

ARM: Assign "actuals" at call site to the appropriate GPR/stack slot. Actually assign arguments to r0-r3 at the call site. Previously this was left unhandled. There was only logic for pulling formal parameters out of r0-r3. Refactor the GPR counter and move it into a class so that the rounding up for i64 arguments is in one place for callsites and for pulling out of parameters. We might be able to use a similar pattern to count the FP/SIMD registers later. 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=b0a8c24ecd98f4b6748f8fa8f8c4a254a48d4889

Patch Set 1 #

Patch Set 2 : clang-format #

Patch Set 3 : align stack for calls #

Patch Set 4 : test call indirect #

Patch Set 5 : tpypo #

Total comments: 8

Patch Set 6 : review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+409 lines, -60 lines) Patch
M src/IceInstARM32.h View 1 2 3 4 5 2 chunks +29 lines, -0 lines 0 comments Download
M src/IceInstARM32.cpp View 1 2 3 4 5 2 chunks +40 lines, -0 lines 0 comments Download
M src/IceTargetLoweringARM32.h View 1 2 3 2 chunks +31 lines, -0 lines 0 comments Download
M src/IceTargetLoweringARM32.cpp View 1 2 3 13 chunks +164 lines, -49 lines 0 comments Download
M tests_lit/llvm2ice_tests/64bit.pnacl.ll View 2 chunks +40 lines, -1 line 0 comments Download
M tests_lit/llvm2ice_tests/callindirect.pnacl.ll View 1 2 3 4 chunks +39 lines, -7 lines 0 comments Download
M tests_lit/llvm2ice_tests/globalinit.pnacl.ll View 1 2 3 4 2 chunks +29 lines, -3 lines 0 comments Download
M tests_lit/llvm2ice_tests/int-arg.ll View 1 chunk +37 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
jvoung (off chromium)
5 years, 6 months ago (2015-06-18 17:09:04 UTC) #2
Jim Stichnoth
otherwise lgtm https://codereview.chromium.org/1187513006/diff/80001/src/IceInstARM32.cpp File src/IceInstARM32.cpp (right): https://codereview.chromium.org/1187513006/diff/80001/src/IceInstARM32.cpp#newcode648 src/IceInstARM32.cpp:648: << "\tsp, "; There is both "sp" ...
5 years, 6 months ago (2015-06-18 19:47:34 UTC) #3
jvoung (off chromium)
https://codereview.chromium.org/1187513006/diff/80001/src/IceInstARM32.cpp File src/IceInstARM32.cpp (right): https://codereview.chromium.org/1187513006/diff/80001/src/IceInstARM32.cpp#newcode648 src/IceInstARM32.cpp:648: << "\tsp, "; On 2015/06/18 19:47:33, stichnot wrote: > ...
5 years, 6 months ago (2015-06-18 21:18:30 UTC) #4
jvoung (off chromium)
5 years, 6 months ago (2015-06-18 22:00:21 UTC) #5
Message was sent while issue was closed.
Committed patchset #6 (id:90001) manually as
b0a8c24ecd98f4b6748f8fa8f8c4a254a48d4889 (tree was closed).

Powered by Google App Engine
This is Rietveld 408576698