This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: libgcc2 and MIN_UNITS_PER_WORD on ia64
- To: Jim Wilson <wilson at cygnus dot com>
- Subject: Re: libgcc2 and MIN_UNITS_PER_WORD on ia64
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 03 Apr 2001 02:43:42 -0300
- Cc: janis at us dot ibm dot com, gcc at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <200104030110.SAA31638@wilson.cygnus.com>
On Apr 2, 2001, Jim Wilson <wilson@cygnus.com> wrote:
> In the Red Hat tools group, what we do is define HOST_WIDE_INT to
> "long long" instead of "long" for cross compilers from 32-bit hosts
> to 64-bit targets. This is done via an ugly config.gcc hack. This
> makes the cross gcc run slower, but the resulting code will be much
> closer to what you would get with a native compiler. [...] What it
> really needs is someone to clean it up and make it more presentable
> so that we can put it in the FSF tree.
FWIW, I've just fixed (but not installed yet; will do momentarily) at
least some of the bugs in codegen and in the ppc back-end, that
prevented the adoption of the patch that automatically selected `long
long' for HOST_WIDE_INT if the target has 64-bits wide longs, which
obviates the ugly hack we currently have.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me