This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: fp->int folding broken. again.
- From: Roger Sayle <roger at eyesopen dot com>
- To: Richard Henderson <rth at twiddle dot net>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 16 Oct 2003 10:45:55 -0600 (MDT)
- Subject: Re: fp->int folding broken. again.
On Thu, 16 Oct 2003, Richard Henderson wrote:
> I'm thinking that what we should actually do is force the 9
> targets that define FIXUNS_TRUNC_LIKE_FIX_TRUNC to instead define
> the appropriate unsigned fix patterns.
I agree, this would be preferable. One strange thing is that several
of these targets have software floating point, h8300, v850? and m68hc11?
so these can all just call the __fixuns?f?i function in floatlib directly.
This may even fix some bugs, as I'm not certain what the behaviour of
__fix* library functions is on overflow for these targets.
And it also looks like there are only eight affected targets, the
FIXUNS_TRUNC_LIKE_FIX_TRUNC in rs6000/rs6000.h is commented out.
Once alpha and the soft-float targets are updated, the remaining
targets look rare (some even scheduled for deprecation in 3.4).
Very many thanks again.
Roger
--