Re: [PATCH] Fix PR50396

2011-12-23 Thread Richard Guenther
On Fri, 23 Dec 2011, Richard Guenther wrote: > 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 ret

Re: [PATCH] Fix PR50396

2011-12-23 Thread Richard Guenther
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

Re: [PATCH] Fix PR50396

2011-12-22 Thread Richard Henderson
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] ? r~

[PATCH] Fix PR50396

2011-12-22 Thread Richard Guenther
The following fixes the RTL folder to not consider a vector FP division of 0.0 as 0.0. Bootstrap and regtest on x86_64-unknown-linux-gnu pending. Any way to test, in the testcase, whether the vector modes will have NaNs or not? Richard. 2011-12-22 Richard Guenther PR rtl-optimizati