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

Issue 602993002: Frees up LR on arm for use by the register allocator. (Closed)

Created:
6 years, 3 months ago by zra
Modified:
6 years, 2 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Frees up LR on arm for use by the register allocator. This failed in my last attempt because LR was clobbered on deopt. Now, LR is always cached in IP before the call to the deopt stub, and restored on entry to the stub. R=srdjan@google.com Committed: https://code.google.com/p/dart/source/detail?r=40686

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -12 lines) Patch
M runtime/vm/assembler_arm.cc View 1 4 chunks +7 lines, -5 lines 0 comments Download
M runtime/vm/constants_arm.h View 1 2 chunks +4 lines, -3 lines 0 comments Download
M runtime/vm/flow_graph_compiler_arm.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language_arm.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/stub_code_arm.cc View 1 1 chunk +20 lines, -3 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
zra
6 years, 3 months ago (2014-09-24 22:15:01 UTC) #2
srdjan
lgtm https://codereview.chromium.org/602993002/diff/1/runtime/vm/flow_graph_compiler_arm.cc File runtime/vm/flow_graph_compiler_arm.cc (right): https://codereview.chromium.org/602993002/diff/1/runtime/vm/flow_graph_compiler_arm.cc#newcode187 runtime/vm/flow_graph_compiler_arm.cc:187: __ mov(IP, Operand(LR)); Please add comment why this ...
6 years, 3 months ago (2014-09-24 22:36:02 UTC) #3
Florian Schneider
dbc: https://codereview.chromium.org/602993002/diff/1/runtime/vm/intermediate_language_arm.cc File runtime/vm/intermediate_language_arm.cc (right): https://codereview.chromium.org/602993002/diff/1/runtime/vm/intermediate_language_arm.cc#newcode208 runtime/vm/intermediate_language_arm.cc:208: summary->set_temp(0, Location::RegisterLocation(LR)); Calls clobber all registers, so I'm ...
6 years, 2 months ago (2014-09-25 09:49:22 UTC) #5
zra
https://codereview.chromium.org/602993002/diff/1/runtime/vm/flow_graph_compiler_arm.cc File runtime/vm/flow_graph_compiler_arm.cc (right): https://codereview.chromium.org/602993002/diff/1/runtime/vm/flow_graph_compiler_arm.cc#newcode187 runtime/vm/flow_graph_compiler_arm.cc:187: __ mov(IP, Operand(LR)); On 2014/09/24 22:36:02, srdjan wrote: > ...
6 years, 2 months ago (2014-09-25 18:11:27 UTC) #6
zra
6 years, 2 months ago (2014-09-25 19:28:31 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as r40686 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698