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 21:59:54 +0100, Joerg Sonnenberger wrote:
> 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.
Yeah, I don't see why memory operand contraint wouldn't work here.
SPARC 'T' constraint - memory address aligned at 8 bytes.
-uwe
Home |
Main Index |
Thread Index |
Old Index