Re: clobber list in inline assembly for calls

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux