public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug math/6406] New: Improve performance of libm wrapper functions.
@ 2008-04-15  1:51 sjmunroe at us dot ibm dot com
  2008-04-15  2:01 ` [Bug math/6406] " sjmunroe at us dot ibm dot com
                   ` (7 more replies)
  0 siblings, 8 replies; 12+ messages in thread
From: sjmunroe at us dot ibm dot com @ 2008-04-15  1:51 UTC (permalink / raw)
  To: glibc-bugs

Many math lib functions have a wrapper function in front of the ieee754
implementation. This wrapper function will check for specific error conditions
and set errno as required by C99 or Posix.

This wrapper function can add significant path length and is composed of often
redundant isnan, isinf, finite tests which is incur the call overhead to that
function. Also since we are using the general purpose functions, the same value
is  transfered and manipulated in the same or similar ways multiple times.

Performance could be improved by making these tests inline, allowing the
compiler and optimize out data transfers and common subexpressions.

-- 
           Summary: Improve performance of libm wrapper functions.
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
        AssignedTo: aj at suse dot de
        ReportedBy: sjmunroe at us dot ibm dot com
                CC: glibc-bugs at sources dot redhat dot com
GCC target triplet: powerpc64-*-linux and others


http://sourceware.org/bugzilla/show_bug.cgi?id=6406

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2011-10-15 14:14 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-6406-131@http.sourceware.org/bugzilla/>
2011-09-29  9:12 ` [Bug math/6406] Improve performance of libm wrapper functions aj at suse dot de
2011-10-08  8:46 ` drepper.fsp at gmail dot com
2011-10-08  9:21 ` jakub at redhat dot com
2011-10-15 14:14 ` drepper.fsp at gmail dot com
2008-04-15  1:51 [Bug math/6406] New: " sjmunroe at us dot ibm dot com
2008-04-15  2:01 ` [Bug math/6406] " sjmunroe at us dot ibm dot com
2008-04-15  2:02 ` sjmunroe at us dot ibm dot com
2008-04-15  2:17 ` sjmunroe at us dot ibm dot com
2008-04-15  2:28 ` sjmunroe at us dot ibm dot com
2008-04-15 16:08 ` sjmunroe at us dot ibm dot com
2008-06-26 14:05 ` sjmunroe at us dot ibm dot com
2008-06-26 14:13 ` sjmunroe at us dot ibm dot com
2008-06-27 15:35 ` hjl dot tools at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).