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

Issue 1314883002: VM: Use constant pool also for leaf runtime calls on x64, arm, arm64 and mips. (Closed)

Created:
5 years, 4 months ago by Florian Schneider
Modified:
5 years, 3 months ago
Reviewers:
rmacnak
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

VM: Use constant pool also for leaf runtime calls on x64, arm, arm64 and mips. Remove unused branch/call macro instructions from the assembler. Setup a frame and pool pointer when invoking leaf runtime functions (in the deoptimzation stub and store-buffer update stub). BUG= R=rmacnak@google.com Committed: https://github.com/dart-lang/sdk/commit/7e082c108210e4401160e5c4b382d0ed4a3e4405

Patch Set 1 #

Patch Set 2 : fixed non-simulated arm/mips build #

Total comments: 8

Patch Set 3 : use StubEntry::label directly #

Unified diffs Side-by-side diffs Delta from patch set Stats (+156 lines, -251 lines) Patch
M runtime/vm/assembler_arm.h View 2 chunks +4 lines, -8 lines 0 comments Download
M runtime/vm/assembler_arm.cc View 1 2 6 chunks +18 lines, -37 lines 0 comments Download
M runtime/vm/assembler_arm64.h View 2 chunks +5 lines, -24 lines 0 comments Download
M runtime/vm/assembler_arm64.cc View 1 2 4 chunks +31 lines, -9 lines 0 comments Download
M runtime/vm/assembler_mips.h View 2 chunks +5 lines, -40 lines 0 comments Download
M runtime/vm/assembler_mips.cc View 1 2 5 chunks +43 lines, -21 lines 0 comments Download
M runtime/vm/assembler_x64.h View 3 chunks +0 lines, -7 lines 0 comments Download
M runtime/vm/assembler_x64.cc View 1 2 5 chunks +17 lines, -64 lines 0 comments Download
M runtime/vm/flow_graph_compiler.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/runtime_entry_arm.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/runtime_entry_mips.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/runtime_entry_x64.cc View 1 chunk +3 lines, -1 line 0 comments Download
M runtime/vm/stub_code_arm.cc View 1 4 chunks +5 lines, -5 lines 0 comments Download
M runtime/vm/stub_code_arm64.cc View 3 chunks +4 lines, -6 lines 0 comments Download
M runtime/vm/stub_code_mips.cc View 1 4 chunks +6 lines, -16 lines 0 comments Download
M runtime/vm/stub_code_x64.cc View 5 chunks +7 lines, -9 lines 0 comments Download
M runtime/vm/stub_code_x64_test.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (1 generated)
Florian Schneider
5 years, 4 months ago (2015-08-25 10:55:34 UTC) #2
rmacnak
https://codereview.chromium.org/1314883002/diff/20001/runtime/vm/assembler_arm.cc File runtime/vm/assembler_arm.cc (right): https://codereview.chromium.org/1314883002/diff/20001/runtime/vm/assembler_arm.cc#newcode2683 runtime/vm/assembler_arm.cc:2683: LoadImmediate(IP, label.address(), cond); // Address is never patched. Shouldn't ...
5 years, 3 months ago (2015-08-26 23:55:24 UTC) #3
Florian Schneider
https://codereview.chromium.org/1314883002/diff/20001/runtime/vm/assembler_arm.cc File runtime/vm/assembler_arm.cc (right): https://codereview.chromium.org/1314883002/diff/20001/runtime/vm/assembler_arm.cc#newcode2683 runtime/vm/assembler_arm.cc:2683: LoadImmediate(IP, label.address(), cond); // Address is never patched. On ...
5 years, 3 months ago (2015-08-27 08:27:20 UTC) #4
Florian Schneider
If there are no further comments, I consider this as ready for landing. https://codereview.chromium.org/1314883002/diff/20001/runtime/vm/assembler_arm.cc File ...
5 years, 3 months ago (2015-08-27 08:38:10 UTC) #5
rmacnak
LGTM https://codereview.chromium.org/1314883002/diff/20001/runtime/vm/flow_graph_compiler.cc File runtime/vm/flow_graph_compiler.cc (right): https://codereview.chromium.org/1314883002/diff/20001/runtime/vm/flow_graph_compiler.cc#newcode70 runtime/vm/flow_graph_compiler.cc:70: DECLARE_FLAG(bool, print_stop_message); On 2015/08/27 08:27:20, Florian Schneider wrote: ...
5 years, 3 months ago (2015-08-27 20:14:05 UTC) #6
Florian Schneider
5 years, 3 months ago (2015-08-28 08:46:08 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
7e082c108210e4401160e5c4b382d0ed4a3e4405 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698