This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: __fixuns?fSI() lose if long is wider than SI
On Wed, Jan 31, 2001 at 10:16:00AM -0200, Alexandre Oliva wrote:
> * config/fp-bit.h (MAX_USI_INT, MAX_SI_INT): Don't assume
> unsigned is wide enough.
> (BITS_PER_SI): New.
> * config/fp-bit.c (_fpmul_parts): Don't assume 32-bits SI.
> (si_to_float): Likewise.
> (float_to_si, float_to_usi): Use BITS_PER_SI.
It passes a visual grep. Assuming regression test succeeds, ok.
r~