This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/17140] New: Floating point output is slow
- From: "jlquinn at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Aug 2004 04:08:49 -0000
- Subject: [Bug libstdc++/17140] New: Floating point output is slow
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
This is a place holder for the work I had done on bringing the old gcc 2.95
floating point printing code back into the library. I had gotten as far as
having working code on x86 for double and long double, but we had stalled on
getting configury bits in place. I've been busy for a while, but this has still
been in the back of my mind.
Basically, the code is about 3x faster than printf for a subset of numbers where
it can be accurately printed using hardware fp. When using big ints, it was
about 50% slower than printf on x86 linux. The code also contains data to print
IBM and VAX fp numbers, but not for c4x fp numbers.
It also had not been tested on platforms other than x86 linux. However, it
showed promise :-)
--
Summary: Floating point output is slow
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jlquinn at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17140