public inbox for glibc-bugs@sourceware.org help / color / mirror / Atom feed
From: "sjmunroe at us dot ibm dot com" <sourceware-bugzilla@sourceware.org> To: glibc-bugs@sources.redhat.com Subject: [Bug math/6406] New: Improve performance of libm wrapper functions. Date: Tue, 15 Apr 2008 01:51:00 -0000 [thread overview] Message-ID: <20080415015106.6406.sjmunroe@us.ibm.com> (raw) 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.
next reply other threads:[~2008-04-15 1:51 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-04-15 1:51 sjmunroe at us dot ibm dot com [this message] 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
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20080415015106.6406.sjmunroe@us.ibm.com \ --to=sourceware-bugzilla@sourceware.org \ --cc=glibc-bugs@sources.redhat.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).