This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PowerPC] libgcc __floattisf
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Mark Mitchell <mark at codesourcery dot com>
- Date: Mon, 2 Jan 2006 17:42:20 +1030
- Subject: Re: [PowerPC] libgcc __floattisf
- References: <20051226012521.GG4247@bubble.grove.modra.org> <Pine.LNX.4.64.0601012241400.7051@digraph.polyomino.org.uk>
On Sun, Jan 01, 2006 at 10:44:27PM +0000, Joseph S. Myers wrote:
> On Mon, 26 Dec 2005, Alan Modra wrote:
>
> > where the conversion from long double f to float goes via double.
> > (rs6000.md doesn't have a direct TFmode to SFmode conversion.)
>
> Double rounding conversion from long double to float via double sounds
> like a bug. If there isn't a PR open for it, could you file one?
Is there anything in the C standard that says this behaviour is a bug?
As far as I can see, double rounding is permissible for inexact
conversions.
--
Alan Modra
IBM OzLabs - Linux Technology Centre