This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug math/15384] One constant fewer in ieee754/dbl-64/wordsize-64/s_finite.c


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]