This is the mail archive of the gcc@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: m68k call frame support


On Fri, Aug 03, 2001 at 06:19:26AM +0200, Roman Zippel wrote:
> Hmm, I think now I see it. I only have to do this when
> current_function_calls_eh_return is true?

Yes.

> Another question, in the archive I found you mentioned that one
> should avoid the return register for EH_RETURN_DATA_REGNO, so
> should I use d1/a0/a1 here and d0 for EH_RETURN_STACKADJ_RTX?

Well, it's _easier_ if you don't use the return register for any of
the above, but it is not an absolute requirement.  As it happens, you
can't avoid it because you don't have enough registers.  So you should
look at the i386 eh_return_si pattern for an example of how to make
this work.

I think you're best using d0 & a0 for EH_RETURN_DATA_REGNO, and
d1 for EH_RETURN_STACKADJ_RTX.


r~


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