tech-kern archive

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

Re: Please do not yell at people for trying to help you.



On Fri, Nov 12, 2010 at 08:31:39PM +0000, Eduardo Horvath wrote:
> The assignment:
> 
> foo.size = htole64(size);
> 
> Cannot be replaced with:
> 
> __inline __asm("stxa %1, [%0] ASI_LITLE" : &foo.size : size);

Actually, it should be possible to do exactly that if you allow the
output register to be a memory location. Not sure how smart GCC is for
this though.

Joerg


Home | Main Index | Thread Index | Old Index