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: pa.c clean-up



  In message <20010131183924.D14026@redhat.com>you write:
  > On Wed, Jan 31, 2001 at 06:15:42PM -0700, Jeffrey A Law wrote:
  > > That would indicate a problem elsewhere since there should have been
  > > a dependency between the insn which adjusts the stack pointer and any
  > > stores in the prologue which use the stack pointer in their address.
  > 
  > Do you have special logic for functions that have a frame pointer
  > as well?
I'm not sure what you mean by "special logic".

When we have a frame pointer our prologue looks something like this:

	store return pointer into stack
	copy fp, scratch
	copy sp, fp
	stwm scratch size(sp)	/* store scratch into stack and allocate 
				   stack space for new frame */
	store other callee saved registers via fp

jeff



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