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

Issue 1865001: Provide (non Gay) dtoa for fixed notation. (Closed)

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

Description

Provide (non Gay) dtoa for fixed notation. Committed: http://code.google.com/p/v8/source/detail?r=4591

Patch Set 1 #

Total comments: 26

Patch Set 2 : '' #

Total comments: 23

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1231 lines, -52 lines) Patch
M src/SConscript View 2 chunks +2 lines, -0 lines 0 comments Download
M src/conversions.cc View 6 chunks +25 lines, -11 lines 0 comments Download
A src/dtoa.h View 1 1 chunk +81 lines, -0 lines 0 comments Download
A src/dtoa.cc View 1 1 chunk +77 lines, -0 lines 0 comments Download
M src/fast-dtoa.h View 1 2 chunks +1 line, -2 lines 0 comments Download
M src/fast-dtoa.cc View 1 2 chunks +2 lines, -9 lines 0 comments Download
A src/fixed-dtoa.h View 1 2 1 chunk +55 lines, -0 lines 0 comments Download
A src/fixed-dtoa.cc View 1 2 1 chunk +402 lines, -0 lines 0 comments Download
M test/cctest/SConscript View 2 chunks +2 lines, -0 lines 0 comments Download
A test/cctest/gay-fixed.h View 1 1 chunk +47 lines, -0 lines 0 comments Download
M test/cctest/gay-shortest.h View 1 chunk +2 lines, -2 lines 0 comments Download
M test/cctest/gay-shortest.cc View 2 chunks +6 lines, -4 lines 0 comments Download
M test/cctest/test-fast-dtoa.cc View 1 2 chunks +13 lines, -24 lines 0 comments Download
A test/cctest/test-fixed-dtoa.cc View 1 1 chunk +512 lines, -0 lines 0 comments Download
M tools/gyp/v8.gyp View 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Florian Loitsch
10 years, 7 months ago (2010-05-03 12:03:19 UTC) #1
Florian Loitsch
10 years, 7 months ago (2010-05-03 12:03:19 UTC) #2
William Hesse
All reviewed except fixed-dtoa.cc. Still working on that one. http://codereview.chromium.org/1865001/diff/1/5002 File src/dtoa.cc (right): http://codereview.chromium.org/1865001/diff/1/5002#newcode68 src/dtoa.cc:68: ...
10 years, 7 months ago (2010-05-04 07:33:13 UTC) #3
Florian Loitsch
http://codereview.chromium.org/1865001/diff/1/5002 File src/dtoa.cc (right): http://codereview.chromium.org/1865001/diff/1/5002#newcode68 src/dtoa.cc:68: if (FastDtoa(v, buffer, length, point)) return true; On 2010/05/04 ...
10 years, 7 months ago (2010-05-04 08:51:30 UTC) #4
William Hesse
Reviewed fixed-dtoa.cc to line 235. Almost done. http://codereview.chromium.org/1865001/diff/1/17001 File src/fixed-dtoa.cc (right): http://codereview.chromium.org/1865001/diff/1/17001#newcode45 src/fixed-dtoa.cc:45: void Multiply(uint32_t ...
10 years, 7 months ago (2010-05-04 09:43:46 UTC) #5
William Hesse
http://codereview.chromium.org/1865001/diff/36001/51001 File src/fixed-dtoa.cc (right): http://codereview.chromium.org/1865001/diff/36001/51001#newcode244 src/fixed-dtoa.cc:244: // point loccation. location. Again, comment that point is ...
10 years, 7 months ago (2010-05-04 10:43:15 UTC) #6
Florian Loitsch
http://codereview.chromium.org/1865001/diff/1/17001 File src/fixed-dtoa.cc (right): http://codereview.chromium.org/1865001/diff/1/17001#newcode45 src/fixed-dtoa.cc:45: void Multiply(uint32_t by) { On 2010/05/04 09:43:46, William Hesse ...
10 years, 7 months ago (2010-05-04 12:32:51 UTC) #7
William Hesse
10 years, 7 months ago (2010-05-05 08:37:28 UTC) #8
LGTM.  I don't think the indexed code with two variables is as optimal, because
there is also an addition to the index inside the expressions.  If the compiler
knew that *length was constant, it could optimize buffer[*length + j] to
a memory operand, but I doubt it does.  We know *length is constant during the
loop, so we can do it.

Powered by Google App Engine
This is Rietveld 408576698