[Fwd: Re: [PATCH] Performance improvement for log()]

Steven Munroe munroesj@linux.vnet.ibm.com
Wed Apr 16 19:37:00 GMT 2008


I opened http://sources.redhat.com/bugzilla/show_bug.cgi?id=6406

To discuss this issue and provide proposed general solution where the
general purpose wrappers can use inline isnan, isinf, finite, etc tests
(if provided in math_private.h). Platforms can provide optimized
implementations by overriding math_private.h. The ,/math/math_private.h
defines the default implementation which maintains the current
implementation (use out of line calls to __isnan, __isinf, __finite,
etc).

This technique can staged both in that we don't need to modify all the
w_* functions up front and the that platforms don't have to do anything
to maintain status quo.

Platforms that want to take advantage can provide the *_BITS macros in a
math_private.h override and, convert w_* functions as needed.
-------------- next part --------------
An embedded message was scrubbed...
From: Steven Munroe <munroesj@linux.vnet.ibm.com>
Subject: Re: [PATCH] Performance improvement for log()
Date: Thu, 10 Apr 2008 17:13:17 -0500
Size: 4045
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20080416/41bdfbff/attachment.eml>


More information about the Libc-alpha mailing list