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]
Other format: [Raw text]

Re: altivec PRE_GCC3_DWARF_FRAME_REGISTERS


On Thu, 2001-12-06 at 17:13, Richard Henderson wrote:
> On Thu, Dec 06, 2001 at 04:00:17PM -0800, Aldy Hernandez wrote:
> > ! /* If FIRST_PSEUDO_REGISTER increases, this should as well.  */
> > ! #define DWARF_FRAME_REGISTERS 110
> 
> You can delete DWARF_FRAME_REGISTERS now.  As the documentation I
> gave you indicated, the only reason to keep it around now is if you
> know that hard regs N through FIRST_PSEUDO_REGISTER will never be
> call saved.  Which is not the case here.

aaaahhh, ok.  bootstrapped on linux ppc.

ok?

> 
> 
> r~
-- 
Aldy Hernandez			E-mail: aldyh@redhat.com
Professional Gypsy
Red Hat, Inc.

2001-12-06  Aldy Hernandez  <aldyh@redhat.com>

	* rs6000.h (PRE_GCC3_DWARF_FRAME_REGISTERS): New.
	(DWARF_FRAME_REGISTERS): Delete.

Index: config/rs6000/rs6000.h
===================================================================
RCS file: /cvs/uberbaum/gcc/config/rs6000/rs6000.h,v
retrieving revision 1.151
diff -c -p -r1.151 rs6000.h
*** rs6000.h	2001/12/03 19:13:35	1.151
--- rs6000.h	2001/12/07 02:46:59
*************** extern int rs6000_altivec_abi;
*** 700,710 ****
  
  #define FIRST_PSEUDO_REGISTER 110
  
! /* This must not decrease, for backwards compatibility.  If
!    FIRST_PSEUDO_REGISTER increases, this should as well.  */
! /* fixme: this needs to be defined to "TARGET_ALTIVEC_ABI ? 110 : 77"
!    and then fix usages of DWARF_FRAME_REGISTERS to work.  */
! #define DWARF_FRAME_REGISTERS 77
  
  /* 1 for registers that have pervasive standard uses
     and are not available for the register allocator.
--- 700,707 ----
  
  #define FIRST_PSEUDO_REGISTER 110
  
! /* This must be included for pre gcc 3.0 glibc compatability.  */
! #define PRE_GCC3_DWARF_FRAME_REGISTERS 77
  
  /* 1 for registers that have pervasive standard uses
     and are not available for the register allocator.


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