ppc inline asm syntax

Andreas Schwab schwab at suse.de
Sun Jan 14 00:20:20 EST 2007


yuraxa <ygeorgie at gmail.com> writes:

> Hi, i'm writing some inline assembly for ppc.
> Grepping linux src code for examples i found syntax that i can't
> understand, but as i can see it's frequently used.

There is some documentation in the GCC internals manual, see
<http://gcc.gnu.org/onlinedocs/gccint/Output-Template.html>.  The ppc
specific operand modifiers are only documented in the GCC source, see
print_operand in
<http://gcc.gnu.org/viewcvs/trunk/gcc/config/rs6000/rs6000.c?view=markup>.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab at suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Linuxppc-dev mailing list