This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: inline asm: How to push PIC reg before seven input operands get loaded?
- From: Andrew Haley <aph at redhat dot com>
- To: lynx dot abraxas at freenet dot de
- Cc: gcc-help at gcc dot gnu dot org
- Date: Sat, 24 Mar 2007 11:11:52 +0000
- Subject: Re: inline asm: How to push PIC reg before seven input operands get loaded?
- References: <20070324095148.GB1837@drago.uni-regensburg.de>
lynx.abraxas@freenet.de writes:
>
> I got a bit further with my problem. Now I'm stuck on how to save
> the register used when -fPIC is enabled to the stack before my
> seven input operands, needing all registers, get loaded. Is that
> somehow possible? I couldn't find any examples on the net. It seems
> not to be necessary in the original code for MSC.
I doubt very much thath is possible.
> Also I wonder which -f option that comes with -O2 makes gcc stop reporting:
> error: can't find a register in class 'LEGACY_REGS' while reloading 'asm'
I guess this is a joke.
Andrew.