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/6406] New: Improve performance of libm wrapper functions.


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.


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