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

Issue 6930038: ARM: Reduce amount of code generated for context save on deopt.... (Closed)

Created:
9 years, 7 months ago by m.m.capewell
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

ARM: Reduce amount of code generated for context save on deopt. BUG=none TEST=none Committed: http://code.google.com/p/v8/source/detail?r=7873

Patch Set 1 #

Total comments: 4

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -18 lines) Patch
M src/arm/deoptimizer-arm.cc View 1 2 chunks +35 lines, -18 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
m.m.capewell
9 years, 7 months ago (2011-05-05 16:46:27 UTC) #1
Mads Ager (chromium)
Søren or Karl, could you look at this?
9 years, 7 months ago (2011-05-06 08:15:13 UTC) #2
Søren Thygesen Gjesse
Do you think this optimization of the deoptimization code pays off? The code is sitting ...
9 years, 7 months ago (2011-05-06 10:12:37 UTC) #3
m.m.capewell
On 2011/05/06 10:12:37, Søren Gjesse wrote: > Do you think this optimization of the deoptimization ...
9 years, 7 months ago (2011-05-10 10:40:06 UTC) #4
m.m.capewell
9 years, 7 months ago (2011-05-10 10:40:25 UTC) #5
http://codereview.chromium.org/6930038/diff/1/src/arm/deoptimizer-arm.cc
File src/arm/deoptimizer-arm.cc (right):

http://codereview.chromium.org/6930038/diff/1/src/arm/deoptimizer-arm.cc#newc...
src/arm/deoptimizer-arm.cc:552: // Save all general purpose registers before
messing with them.
On 2011/05/06 10:12:37, Søren Gjesse wrote:
> Please also change the comment - it was already wrong before.

Done.

http://codereview.chromium.org/6930038/diff/1/src/arm/deoptimizer-arm.cc#newc...
src/arm/deoptimizer-arm.cc:553: DwVfpRegister first =
DwVfpRegister::FromAllocationIndex(0);
On 2011/05/06 10:12:37, Søren Gjesse wrote:
> We should have an assert here checking that all double registers with
allocation
> indexes from 0 to DwVfpRegister::kNumAllocatableRegisters are between first
and
> last and that no "non-allocatable" registers are in the range. The mapping
from
> allocation index to register can be changed to any mapping.

Done.

Powered by Google App Engine
This is Rietveld 408576698