Re: Use MPFR for real.c decimal-string-to-binary conversions (PR 21718)

2013-11-21 Thread Richard Biener
On Wed, Nov 20, 2013 at 7:17 PM, Joseph S. Myers wrote: > On Wed, 20 Nov 2013, Richard Biener wrote: > >> I suggest to remove real_sqrt and the only use in simplify-rtx.c instead >> (or fix it to use MPFR as well - your choice). > > This patch removes real_sqrt. (I rather hope that in general lit

Re: Use MPFR for real.c decimal-string-to-binary conversions (PR 21718)

2013-11-20 Thread Marc Glisse
On Wed, 20 Nov 2013, Joseph S. Myers wrote: On Wed, 20 Nov 2013, Marc Glisse wrote: On Wed, 20 Nov 2013, Joseph S. Myers wrote: This patch removes real_sqrt. (I rather hope that in general little if any floating-point constant folding is happening on RTL - it doesn't seem like the sort of t

Re: Use MPFR for real.c decimal-string-to-binary conversions (PR 21718)

2013-11-20 Thread Joseph S. Myers
On Wed, 20 Nov 2013, Marc Glisse wrote: > On Wed, 20 Nov 2013, Joseph S. Myers wrote: > > > This patch removes real_sqrt. (I rather hope that in general little > > if any floating-point constant folding is happening on RTL - it > > doesn't seem like the sort of thing for which RTL expansion shou

Re: Use MPFR for real.c decimal-string-to-binary conversions (PR 21718)

2013-11-20 Thread Marc Glisse
On Wed, 20 Nov 2013, Joseph S. Myers wrote: This patch removes real_sqrt. (I rather hope that in general little if any floating-point constant folding is happening on RTL - it doesn't seem like the sort of thing for which RTL expansion should be expected to introduce new folding opportunities,

Re: Use MPFR for real.c decimal-string-to-binary conversions (PR 21718)

2013-11-20 Thread Joseph S. Myers
On Wed, 20 Nov 2013, Richard Biener wrote: > I suggest to remove real_sqrt and the only use in simplify-rtx.c instead > (or fix it to use MPFR as well - your choice). This patch removes real_sqrt. (I rather hope that in general little if any floating-point constant folding is happening on RTL -