This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Integer moves for fp regs



  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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]