libgcc2 and MIN_UNITS_PER_WORD on ia64
Alexandre Oliva
aoliva@redhat.com
Mon Apr 2 22:43:00 GMT 2001
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
More information about the Gcc
mailing list