On Thu, 22 Dec 2011, Richard Henderson wrote:

> On 12/22/2011 07:46 AM, Richard Guenther wrote:
> > Any way to test, in the testcase, whether the vector modes
> > will have NaNs or not?
> 
>  v[0] != v[0] ?

Well, if MODE_HAS_NANS returns false we might fold 0.0/0.0 to 0.0,
or the HW might simply not have NaNs (SPU?) and have 0.0 as the
result.  Thus, I want to query GCC capabilities (-ffinite-math-only)
and HW capabilities (what we have in real_mode_format) from inside
the testcase.

Any idea?  Otherwise I'll add dg-skips for the targets that fail
the test.

Richard.

Reply via email to