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: -fpic on powerpc is still not quite right.


  In message <199908021605.CAA01134@gluttony.geoffk.wattle.id.au>you write:
  > first_reg_to_save still means "the first register to save".  If r30
  > is never used, we don't want to save it.  It's just that we have to
  > allocate stack space for it whether it's used or not.
  > 
  > That optimisation reduces the cost of the patch by about 2/3, from 6
  > extra instructions to 2 instructions in the worst case.
Thanks for the explanation.  My goof.  You're right.

jeff


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