This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/15424] modf benchtest gives bogus results
- From: "siddhesh at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 17 May 2013 12:01:27 +0000
- Subject: [Bug libc/15424] modf benchtest gives bogus results
- Auto-submitted: auto-generated
- References: <bug-15424-131 at http dot sourceware dot org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=15424
--- Comment #3 from Siddhesh Poyarekar <siddhesh at redhat dot com> 2013-05-17 12:01:27 UTC ---
The problem is not modf, it is the code generated for atan. gcc figures out
that the atan call is needed only once and optimizes it out of the loop. It's
a problem with all trigonometrict functions - look for functions that take ~1-2
cycles minimum time. Patch coming up.
--
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.