This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/15384] One constant fewer in ieee754/dbl-64/wordsize-64/s_finite.c
- From: "marc.glisse at normalesup dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Sun, 21 Apr 2013 15:44:26 +0000
- Subject: [Bug math/15384] One constant fewer in ieee754/dbl-64/wordsize-64/s_finite.c
- Auto-submitted: auto-generated
- References: <bug-15384-131 at http dot sourceware dot org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=15384
--- Comment #5 from Marc Glisse <marc.glisse at normalesup dot org> 2013-04-21 15:44:26 UTC ---
Created attachment 6994
--> http://sourceware.org/bugzilla/attachment.cgi?id=6994
Other bench
Hello,
this is what I've been testing with, compiled with (possible zsh-ism):
for i in "" {0..7}; do echo finite$i; gcc test.c -O3 -Wall -W
-fno-builtin-finite -Dfinite=finite$i; repeat 11 time ./a.out; done
and your new code does not appear to beat the old one in speed (for size, the
non-null version looks great). Interestingly, __builtin_finite wins this test,
although you can feed it a denormal if you want to beat it.
The more I try, the less convinced I get we should change anything :-(
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.