This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Integer moves for fp regs
- To: Michael Hayes <michaelh at ongaonga dot chch dot cri dot nz>
- Subject: Re: Integer moves for fp regs
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Wed, 29 Jul 1998 10:48:28 -0600
- cc: egcs at cygnus dot com, gcc2 at cygnus dot com
- Reply-To: law at cygnus dot com
In message <199807291052.KAA06384@ongaonga.chch.cri.nz>you write:
>
> md.texi has this tantalising comment to say:
>
> "There may also be a need to support fixed point @samp{mov@var{m}}
> instructions in and out of floating point registers. Unfortunately, I
> have forgotten why this was so, and I don't know whether it is still
> true."
>
> Does anyone know the current situation regarding this?
I believe it is still necessary if HARD_REGNO_MODE_OK allows floating
point registers to hold integer mode values.
> I see that caller-save expects that it can save/restore hard floating
> point registers with integer move instructions, provided the registers
> also support integer modes. Unfortunately, this is not true for the
> C4x and I'm wondering what other parts of GCC make this assumption.
? I thought caller-save tried to build and recognize suitable load/store
insns for each mode and if a particular mode didn't work it wouldn't
use it.
jeff