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


On Wed, 31 Jan 2001, Jeffrey A Law wrote:

>   In message <Pine.LNX.4.21.0101242053430.29059-100000@front.linuxcare.com.au>y
> ou write:
>   > Besides some tidying of code, this patch fixes a couple of bugs
> This should be split into multiple patches.

Darn, I was hoping this was a small enough chunk.  Yet to come is some
5k lines of diffs in gcc/config/pa...

Some is moving header files around so as to cleanly add in hppa{,64}-linux
support, but there's other goodies like DWARF2 support for pa, and 64 bit
millicode support contributed by HP (ie. cross compilers without stealing
milli.a from an HP box)

>   >  - Lack of a blockage after the stack pointer was adjusted in
>   >    hppa_expand_prologue resulted in register spills being scheduled before
>   >    the stack frame was valid.  We hit this problem in the linux kernel.
> 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.

You have a similar blockage in the epilogue.  Hmm, based on rth's comment
about frame pointer access into the stack, I don't need all the
blockages.  I'll rip out the non-frame pointer ones.

Alan Modra
-- 
Linuxcare.  Support for the Revolution.



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