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

Issue 555098: Support register arguments in more cases.... (Closed)

Created:
10 years, 11 months ago by Vladislav Kaznacheev
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Support register arguments in more cases. 1. MUL and DIV on SMIs. 2. When calling GenericBinaryOpStub from a virtual frame. 3. When generating code for a loop counter. Overall performance gain is about 0.6%. Committed: http://code.google.com/p/v8/source/detail?r=3708

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -42 lines) Patch
M src/ia32/codegen-ia32.h View 2 chunks +7 lines, -8 lines 0 comments Download
M src/ia32/codegen-ia32.cc View 8 chunks +42 lines, -31 lines 4 comments Download
M src/ia32/full-codegen-ia32.cc View 1 chunk +1 line, -3 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Vladislav Kaznacheev
10 years, 11 months ago (2010-01-26 08:51:00 UTC) #1
Kevin Millikin (Chromium)
LGTM. http://codereview.chromium.org/555098/diff/1/2 File src/ia32/codegen-ia32.cc (right): http://codereview.chromium.org/555098/diff/1/2#newcode7122 src/ia32/codegen-ia32.cc:7122: __ mov(edi, Operand(eax)); // backup the 1st operand ...
10 years, 11 months ago (2010-01-26 09:07:22 UTC) #2
Vladislav Kaznacheev
10 years, 11 months ago (2010-01-26 10:21:18 UTC) #3
http://codereview.chromium.org/555098/diff/1/2
File src/ia32/codegen-ia32.cc (right):

http://codereview.chromium.org/555098/diff/1/2#newcode7122
src/ia32/codegen-ia32.cc:7122: __ mov(edi, Operand(eax));  // backup the 1st
operand
On 2010/01/26 09:07:22, Kevin Millikin wrote:
> No need for Operand: __ mov(edi, eax).
> 
> Comment should be formatted like a sentence: Backup the left operand.

Done.

http://codereview.chromium.org/555098/diff/1/2#newcode7277
src/ia32/codegen-ia32.cc:7277: FloatingPointHelper::ARGS_IN_REGISTERS);
Removed (also for LoadFloatSmis).
On 2010/01/26 09:07:22, Kevin Millikin wrote:
> Does LoadSse2Smis need the ArgLocation argument any more?  It now expects them
> in registers at all call sites.

Powered by Google App Engine
This is Rietveld 408576698