Integer moves for fp regs

Jeffrey A Law law@cygnus.com
Wed Jul 29 15:04:00 GMT 1998


  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



More information about the Gcc mailing list