Re: ppc inline asm syntax
From: yuraxa <hidden>
Date: 2007-01-13 18:28:42
quoted
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.
Thanks a'lot, It helps! But may be you'll be so graceful to explain more precisely? I don't quite understand how the final string will look like... For 'U' operand modifier the comment is: /* Print `u' if this has an auto-increment or auto-decrement. */ But for 'X' operand modifier there is no comment at all. Thanks in advance, Yury.