This is the mail archive of the gcc-patches@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: New target macro HARD_REGNO_CALL_PART_CLOBBERED


  In message <13840.43544.900286.239959@ongaonga.elec.canterbury.ac.nz>you write:
  > 
  > This target macro is used by the register allocator to prevent
  > allocation of certain modes in registers which may be clobbered by a
  > call.  Currently, GCC assumes if a hard register is not a
  > call_used_register, then it is fully preserved across a call.  This is
  > not true with the ABI used by the C4x target, where some registers are
  > only partially preserved across a call.
  > 
  > This patch has no effect on existing targets.
  > 
  > Sun Sep 27 10:25:18 1998  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
  > 
  > 	* regs.h (HARD_REGNO_CALL_PART_CLOBBERED):  New macro.
  > 	* local-alloc.c (find_free_reg): Use it.
  > 	* global.c (find_reg): Likewise.
Thanks.  Installed.
jeff


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