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

Issue 556020: Move heap numbers directly to VFP3 registers in comparison stub. (Closed)

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

Description

Move heap numbers directly to VFP3 registers in comparison stub. Committed: http://code.google.com/p/v8/source/detail?r=3715

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 7

Patch Set 3 : '' #

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

Messages

Total messages: 3 (0 generated)
William Hesse
Includes creation of boolean variable use_fp_registers.
10 years, 11 months ago (2010-01-26 15:22:29 UTC) #1
Erik Corry
LGTM http://codereview.chromium.org/556020/diff/1001/1002 File src/arm/codegen-arm.cc (right): http://codereview.chromium.org/556020/diff/1001/1002#newcode4867 src/arm/codegen-arm.cc:4867: __ push(lr); You can move this push(lr) and ...
10 years, 11 months ago (2010-01-26 16:23:59 UTC) #2
William Hesse
10 years, 11 months ago (2010-01-27 10:04:47 UTC) #3
Changes made.

http://codereview.chromium.org/556020/diff/1001/1002
File src/arm/codegen-arm.cc (right):

http://codereview.chromium.org/556020/diff/1001/1002#newcode4867
src/arm/codegen-arm.cc:4867: __ push(lr);
On 2010/01/26 16:24:00, Erik Corry wrote:
> You can move this push(lr) and the corresponding pop(lr) into the if since it
is
> only necessary when there is a call.  Similarly below.

Done.

http://codereview.chromium.org/556020/diff/1001/1002#newcode4915
src/arm/codegen-arm.cc:4915: // Load the double from lhs, tagged HeapNumber r1,
to d7.
On 2010/01/26 16:24:00, Erik Corry wrote:
> You should do this first since the vldr has a delay that you can use to do the
> other instructions.

Done.

http://codereview.chromium.org/556020/diff/1001/1002#newcode4924
src/arm/codegen-arm.cc:4924: ConvertToDoubleStub stub2(r0, r1, r7, r6);
Operands swapped - why didn't this cause failures?

http://codereview.chromium.org/556020/diff/1001/1002#newcode5153
src/arm/codegen-arm.cc:5153: // __ vmov(d6, r0, r1);
On 2010/01/26 16:24:00, Erik Corry wrote:
> Commented out code.

Done.

Powered by Google App Engine
This is Rietveld 408576698