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

Issue 6250002: [v8-dev] Implementing Math.floor and Math.sqrt for crankshaft. (Closed)

Created:
9 years, 11 months ago by Rodolph Perfetta
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Implementing Math.floor and Math.sqrt for crankshaft. BUG=none TEST=none

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -8 lines) Patch
M src/arm/assembler-arm.h View 2 chunks +5 lines, -3 lines 1 comment Download
M src/arm/lithium-arm.h View 1 chunk +6 lines, -2 lines 0 comments Download
M src/arm/lithium-arm.cc View 1 chunk +2 lines, -1 line 0 comments Download
M src/arm/lithium-codegen-arm.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/arm/lithium-codegen-arm.cc View 1 chunk +34 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Rodolph Perfetta
replaces issue 6124005 http://codereview.chromium.org/6124005/
9 years, 11 months ago (2011-01-13 11:37:53 UTC) #1
Mads Ager (chromium)
LGTM
9 years, 11 months ago (2011-01-13 12:17:52 UTC) #2
Mads Ager (chromium)
http://codereview.chromium.org/6250002/diff/1/src/arm/assembler-arm.h File src/arm/assembler-arm.h (right): http://codereview.chromium.org/6250002/diff/1/src/arm/assembler-arm.h#newcode171 src/arm/assembler-arm.h:171: // d1 has also been excluded from allocation to ...
9 years, 11 months ago (2011-01-13 12:25:54 UTC) #3
Søren Thygesen Gjesse
On 2011/01/13 12:25:54, Mads Ager wrote: > http://codereview.chromium.org/6250002/diff/1/src/arm/assembler-arm.h > File src/arm/assembler-arm.h (right): > > http://codereview.chromium.org/6250002/diff/1/src/arm/assembler-arm.h#newcode171 ...
9 years, 11 months ago (2011-01-13 12:33:06 UTC) #4
Rodolph Perfetta
9 years, 11 months ago (2011-01-13 13:38:55 UTC) #5
On 2011/01/13 12:33:06, Søren Gjesse wrote:
> On 2011/01/13 12:25:54, Mads Ager wrote:
> > http://codereview.chromium.org/6250002/diff/1/src/arm/assembler-arm.h
> > File src/arm/assembler-arm.h (right):
> > 
> >
>
http://codereview.chromium.org/6250002/diff/1/src/arm/assembler-arm.h#newcode171
> > src/arm/assembler-arm.h:171: // d1 has also been excluded from allocation to
> be
> > used as a scratch
> > I already landed this, but why is this in this patch? I don't see any use of
> > double_scratch()?

There is no use of double_scratch(), I had submitted this code in a previous
upload, and at the time it was suggested I should add double_scratch() at the
same time as single_scratch().
 
> Adding to Mads comment how about only having scratch_double0() as d0 and then
> use scratch_double0().high() or scratch_double0().low() for single precision
> scratch registers?

that's fine by me, the only reason I have two double registers for scratch is if
one need a single and double scratch register which don't overlap.

I am happy to upload a new change for it, just let me know.

Powered by Google App Engine
This is Rietveld 408576698