Testsuite for glibc mathematics.
Ryan S. Arnold
ryan.arnold@gmail.com
Mon Nov 26 15:48:00 GMT 2012
Hi, Huan Luo,
libc-help@sourceware.org is probably the correct place for this question.
None-the-less, run "make check" after doing your build and it will run
the integrated math/ portion of the glibc test-suite. This is a
"correctness" test-suite.
As far as a performance test-suite, we don't yet have anything like
that codified. In general, the contributors that are interested in
the performance of portions of glibc tend to target them individually
as they show up hot in workloads. There has been a lot of work lately
in the math functions in order to make them full featured with regard
to precision and rounding. This may have regressed performance.
Here is an example of how Adhemerval evaluated (and improved) the
performance of __ieee754_hypot for the Power Architecture:
http://www.ibm.com/developerworks/opensource/library/l-evaluatelinuxonpower/index.html
In general, performance improvement patches are accompanied by a
baseline analysis as well as a discussion of the preconditions and
assumptions that influenced the patches/changes.
Regards,
Ryan S. Arnold
On Mon, Nov 26, 2012 at 9:27 AM, Huan Luo <luo_huan_na@126.com> wrote:
> Hi,
> Lately we've been studying the mathematics part in Glibc.
> And we made a few changes to some of the functions.
> The problem is we need a testsuite to tell us how these
> functions' performance is affected.
> Can anybody introduce us a testsuite or tell us how
> people usually test their mathematical functions?
> Thanks very much.
>
>
>
>
> --
> Best wishes.
>
> Huan Luo
More information about the Libc-alpha
mailing list