Re: [RS6000] Bogus easy_fp_constant call

2018-11-28 Thread Segher Boessenkool
On Sun, Nov 25, 2018 at 10:41:11PM +1030, Alan Modra wrote: > easy_fp_constant accepts const_double, easy_vector_constant accepts > const_vector. Calling one from the other therefore will always return > false. I believe the zero_constant call in easy_vector_constant will > cover the 0.0 case of

[RS6000] Bogus easy_fp_constant call

2018-11-25 Thread Alan Modra
easy_fp_constant accepts const_double, easy_vector_constant accepts const_vector. Calling one from the other therefore will always return false. I believe the zero_constant call in easy_vector_constant will cover the 0.0 case of easy_fp_constant for KFmode and TFmode. Bootstrapped and regression