This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [patch] libstdc++: Limit Riemann zeta testcases on simulator
- From: Richard Sandiford <rsandifo at nildram dot co dot uk>
- To: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- Cc: 3dw4rd at verizon dot net, jesper dot nilsson at axis dot com, gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Fri, 12 Oct 2007 09:06:25 +0100
- Subject: Re: [patch] libstdc++: Limit Riemann zeta testcases on simulator
- References: <470E1D6D.8070101@verizon.net> <200710111512.l9BFC5Ct013439@ignucius.se.axis.com>
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