PPro and egcs

H.J. Lu hjl@lucon.org
Fri Oct 31 15:24:00 GMT 1997


> 
> 
>   In message < m0xRQKv-0004ecC@ocean.lucon.org >you write:
>   > > Well, I've got my ppro running, and I've actually been able to trip this
>   > > problem.  No clue why I couldn't get it to trip with my cross compiler.
>   > > 
>   > > It's a tough little nut to crack, largly because of reload's insistence
>   > > on replacing regs with CONST_INTs when the register has a REG_EQUIV note.
>   > > 
>   > 
>   > If you take a close look, eax is used for the return value of a
>   > funtion. In that case, I don't gcc should even try to use eax as
>   > spill register.
> On the x86 the reload pass does try to use return registers and
> any others it can find as spills -- the x86 is too register poor
> to not use it.
> 

What I meant was in that particular instance, eax is an input
register in the insn, which is the return value. gcc should skip
eax on that one.


-- 
H.J. Lu (hjl@gnu.ai.mit.edu)



More information about the Gcc mailing list