patchAVR C Runtime Library - Patches: patch #3851, 'dtostre' speed up

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #3851: 'dtostre' speed up

Submitter:  None
Submitted:  Wed 23 Mar 2005 07:53:17 AM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  dmix Originator Email:  -email is unavailable-
Open/Closed:  Closed

Jump to the original submission

Sat 27 Oct 2007 01:50:26 AM UTC, comment #7: 

Yes, it is possible to close this patch.
It was submitted into Avr-libc CVS at Jan.2007.  The dtostre() function is't a part of libm library, it is't use any math/float operation. It is allocated in stdlib and is a part of libc.  Speed is up and accuracy is improved.  The bug #11820 (wrong output with precision=3) is excluded.  The internal conversion function is used also in dtostrf() and printf() functions (CVS main branch).

Dmitry Xmelkov <dmix>
Group administrator
Wed 24 Oct 2007 11:17:32 AM UTC, comment #6: 

Dmitry, this is your submission anyway.  I've got no idea
whether this has already been incorporated as part of your
libm.a rewrite.  If so, perhaps you can just close the
patch tracker then.

Joerg Wunsch <joerg_wunsch>
Group administrator
Sun 03 Sep 2006 01:27:03 AM UTC, comment #5: 

The basis of all functions (ftoa_engine. S) demands only the
insignificant correction connected with the advent of macro
_AVR_HAVE_LPMX _. But remain solved questions what to deduce for
numbers which according to IEEE 754 do not concern to normal
(Subnormals, NaNs, Infs). The current mathematical library is
inconsistent (for example bug #13330).

I suggest to not waste time on completion of this patch (reduction
conformity of different parts libm), and to accept entirely a patch
containing in item bug #1929 (avr-libc-1.4.4-20060501.diff.bz2). This
patch, except for updating all libm, contains accelerated (and
corrected) a variant dtostre/dtostrf. Other parts of a patch #3851
(dtoa_prf/lim/cln, vprintf) I can add later. Tests are in
fplib-20060501.tar.bz2.

Dmitry Xmelkov <dmix>
Group administrator
Thu 24 Aug 2006 03:42:17 PM UTC, comment #4: 

Dmitry,

Is this patch ready to go in? Or are you making more changes to this?

Thanks
Eric

Eric Weddington <arcanum>
Group administrator
Tue 22 Nov 2005 10:52:12 PM UTC, comment #3: 

Changes:
  * Copyright added
  * 'macros.inc' used
  * modern 'vfprintf.c' used
Docs will be letter.  Small notes are in README now.

Anonymous
Mon 13 Jun 2005 05:34:08 AM UTC, comment #2: 

vfprintf.c (base for all printf-family functions): a part of float
point numbers conversion is fully rewriten. Speed is increased in
some times. Also the size of the program and a stack are reduced.
Function 'malloc' is not used now.

Anonymous
Sun 10 Apr 2005 05:58:00 AM UTC, comment #1: 

New family of float to string conversion functions.
Without float point operations, small and fast.

Anonymous
Wed 23 Mar 2005 07:53:17 AM UTC, original submission:  

Now function 'dtostre' uses floating point operations. I have tried to
replace them on integer. As a result speed of conversion has increased
tenfold (10860 --> 970). The size of a code has decreased approximately twice (if it is used only 'dtostre').

Now it is a preliminary version. Testing only has begun, and I plan
still more some changes. And extra high-level functions.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #5127:  dtoa-20051123.tar.gz added by None (56KiB - application/x-tgz)
file #8962:  dtoa-20050613.tar.gz added by None (38KiB - application/x-tgz - Sources and tests.)
file #8659:  dtoa-20050410.tar.gz added by None (21KiB - application/x-tgz - Tarball with sources, README and test suite.)
file #8605:  dtoa-20050323.tar.gz added by None (12KiB - application/x-tgz - Tarball with sources, README and test suite. Preliminary.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by dmix (Posted a comment)
  • -email is unavailable- added by joerg_wunsch (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-10-27 dmix StatusNone Done
    2007-10-27 dmix Open/ClosedOpen Closed
    2007-10-24 joerg_wunsch Assigned toNone dmix
    2005-11-22 None Attached File- Added dtoa-20051123.tar.gz, #5507
    2005-06-13 None Attached File- Added dtoa-20050613.tar.gz, #4723
    2005-04-10 None Attached File- Added dtoa-20050410.tar.gz, #4436
    2005-03-23 None Attached File- Added dtoa-20050323.tar.gz, #4381
        Carbon-Copy- Added dmixm --?±º-- marine --ÂǺ-- febras --ÂǺ-- ru

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code