This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/17140] Floating point output is slow
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Nov 2004 09:57:54 -0000
- Subject: [Bug libstdc++/17140] Floating point output is slow
- References: <20040823040835.17140.jlquinn@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pcarlini at suse dot de 2004-11-22 09:57 -------
Hi again. I'm now running on the three architectures the following tests
attached to the PR.
1- fmttest1.cc
2- fptest.cc
3- lfptest.cc
The second one seems basically OK, besides some problems, on x86 *only*, of
this type:
fd.x[0]=0x32f8c7de; fd.x[1]=0xbf19c68d;
dtoa -0.0001
printf -1e-04
mismatch mode e.0
fd.x[0]=0x207c7765; fd.x[1]=0x3fef97c6;
dtoa 1e+00
printf 1e-00
I think we already discussed those a bit with Jerry, seem not serious:
indeed, both x86_64 and ia64 (with a *newer* glibc installed) are 100% OK.
I'm having more problems with fmttest1.cc, which fails on *all* three machines
(assertion at line 4098). Jerry, Benjamin, does it pass for you?
Also, with lfptest.cc, that segfaults consistently on x86_64 and ia64 at
line 56:
if (dosprintf) sprintf(buf2, "%Lf",fd.d);
Time permitting, I'd like to help investigating the last one, at least.
That's all for now.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17140