This is the mail archive of the
mailing list for the GCC project.
Porting GCC troubles : about register window
- From: chen haibo <chbchb1130 at yahoo dot com dot cn>
- To: gcc at gcc dot gnu dot org
- Date: Sun, 28 Sep 2003 22:37:53 +0800 (CST)
- Subject: Porting GCC troubles : about register window
I plan to port GCC for a new processor which has 16
sets of registers(8 in each set).Since only one
set is visible at any time so that I can omit the
register protection if the depth the call is not
exceed 16.But the call depth did exceed 16, then I
should reserve all the registers to memory or each set
per time,and in my porting,I must each time to
judge if the call depth exceeds 16.I think it is a
very trouble thing,I wonder if the GCC porting
mechanics has any interface to deal with it or if any
one know how to solve the problem.Wait for help,Thanks all!
Do You Yahoo!?