This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

Re: [PATCH] (1/3) Add back libgcc-math


On Thu, 16 Nov 2006, Richard Guenther wrote:

> This patch adds back libgcc-math populated with vectorized routines
> for sin, cos, log, pow, and sqrt for x86_64 as contributed by AMD.

How has the correctness of these implementations been tested?  (One 
approach might be to create a script to process glibc's libm-test.inc - 
which is designed to be processed by scripts - to put tests for the 
relevant functions in a form suitable for the GCC testsuite.  We certainly 
want execution tests in the GCC testsuite if possible, whether 
automatically derived from the glibc testsuite or otherwise.  Automatic 
processing has the advantage that when glibc bugs are fixed and tests 
added we can easily see if these implementations share those bugs or not.)

-- 
Joseph S. Myers
joseph@codesourcery.com


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