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

Issue 181019: Move stack check into AllocateStackSlots so the load delay can be... (Closed)

Created:
11 years, 3 months ago by Erik Corry
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Move stack check into AllocateStackSlots so the load delay can be interleaved with other instructions. Reorder the stack check slightly to avoid some load delay. The end result is almost imperceptible. Committed: http://code.google.com/p/v8/source/detail?r=2784

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -7 lines) Patch
M src/arm/codegen-arm.cc View 3 chunks +13 lines, -4 lines 4 comments Download
M src/arm/virtual-frame-arm.cc View 1 chunk +17 lines, -3 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Erik Corry
11 years, 3 months ago (2009-08-31 09:19:38 UTC) #1
Mads Ager (chromium)
LGTM http://codereview.chromium.org/181019/diff/1/3 File src/arm/codegen-arm.cc (right): http://codereview.chromium.org/181019/diff/1/3#newcode1114 Line 1114: // Put the lr setup insn in ...
11 years, 3 months ago (2009-08-31 09:33:10 UTC) #2
Erik Corry
11 years, 3 months ago (2009-08-31 11:07:57 UTC) #3
http://codereview.chromium.org/181019/diff/1/3
File src/arm/codegen-arm.cc (right):

http://codereview.chromium.org/181019/diff/1/3#newcode1117
Line 1117: masm_->add(lr, pc, Operand(4));
On 2009/08/31 09:33:10, Mads Ager wrote:
> Is this just 4 bytes or is it really kPointerSize?

Fixed to be sizeof(Instr).  If we move to thumb2 we shall have to revisit this
since thumb2 has variable length instructions.

Powered by Google App Engine
This is Rietveld 408576698