This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] c4x HARD_REGNO_MODE_OK
On Thu, Dec 16, 1999 at 11:13:53PM +1300, Michael Hayes wrote:
> Jakub Jelinek writes:
> > While building c4x cross, I realized c4x handles SImode but does not accept
> > it in HARD_REGNO_MODE_OK. This breaks e.g. the SUBREG_BYTE stuff because it
> > aborts immediately when you use SImode.
>
> Hmmm, we shouldn't be generating SImode with the C4x since this mode
> represents 128 bits on that architecture. Strange but true!
But at least during compilation of various libgcc2 routines you do.
The compiler clearly forbids me to do anything except typedefs to DImode,
but does not forbid SImode.
I don't know anything about the c4x ABI but it does not make much sense to
me generating those libgcc2 routines (like __muldi3 etc.). But similarly, it
does not make much sense to me to do it on 64bit platforms either.
Cheers,
Jakub
___________________________________________________________________
Jakub Jelinek | jakub@redhat.com | http://sunsite.mff.cuni.cz/~jj
Linux version 2.3.26 on a sparc64 machine (1343.49 BogoMips)
___________________________________________________________________