This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/6406] New: Improve performance of libm wrapper functions.
- From: "sjmunroe at us dot ibm dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 15 Apr 2008 01:51:06 -0000
- Subject: [Bug math/6406] New: Improve performance of libm wrapper functions.
- Reply-to: sourceware-bugzilla at sourceware dot org
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.