This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: clobber list in inline assembly for calls
On 08.01.2011 05:50, Ian Lance Taylor wrote:
> You are correct: you have to list all the caller-saved registers in the
> clobber list. On 32-bit x86 this is all the registers other than %ebp,
> %ebx, %edi and %esi.
>
> Ian
If I'm not mistaken that should leave eax, ecx and edx. What about "cc"
and "memory" though?
--
Mierswa, Daniel
If you still don't like it, that's ok: that's why I'm boss. I simply
know better than you do.
--- Linus Torvalds, comp.os.linux.advocacy, 1996/07/22