This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: conditional registers per function, possible or not?
- To: Dylan_S_Cuthbert at hq dot scei dot sony dot co dot jp
- Subject: Re: conditional registers per function, possible or not?
- From: "Andi Kleen" <ak at suse dot de>
- Date: Thu, 22 Jun 2000 17:52:35 +0200
- Cc: Andi Kleen <ak at suse dot de>, gcc at gcc dot gnu dot org
- References: <49256906.0056AE6D.00@hq.scei.sony.co.jp>
On Fri, Jun 23, 2000 at 12:48:10AM +0900, Dylan_S_Cuthbert@hq.scei.sony.co.jp wrote:
>
> Also, you have to program in assembler :-( I want to be able to configure
> things a little easier.
Only in once place. You hide it in inline function. If the calling
sequence is very regular you could probably even write macros
to generate the required ``inline stubs''.
It's all probably easier than to change gcc to add your calling
convention.
-Andi