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] libstdc++: Limit Riemann zeta testcases on simulator


Hans-Peter Nilsson <hans-peter.nilsson@axis.com> writes:
>> Date: Thu, 11 Oct 2007 08:56:13 -0400
>> From: Ed Smith-Rowland <3dw4rd@verizon.net>
>
>> Jesper Nilsson wrote:
>
>> > +// This can take long on simulators, timing out the test.
>> > +// { dg-options "-DMAX_ITERATIONS=5" { target simulator } }
>
>> I might be OK to limit the number of iterations for *one* target.  The 
>> data set that is being looped over is also a numeric accuracy check so 
>> I'm a little reluctant to truncate the tests for *all* targets.
>
> Jesper mentioned that the patch and the observations apply
> *only* when running on a simulator.  I think it's appropriate to
> prune the amount of numerical churn for such targets.  Similar
> patches have been applied to other time-consuming tests in the
> libstdc++ testsuite.

And for the record, these tests also time out for mipsisa32-elf with
-msoft-float, although they pass with -mhard-float.  (They're the only
libstdc++-v3 failures on that target.)

Richard


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