Endian problem when accessing internel regs on 8347

Scott Wood scottwood at freescale.com
Fri Jan 18 04:39:55 EST 2008


Bruce_Leonard at selinc.com wrote:
> As an additional question related to PowerPC inline assembly, can anyone 
> tell me what "%U1%X1" means in the following:
> 
> __asm__ __volatile__("lwz%U1%X1 %0,%1; twi 0,%0,0; isync" : "=r" (ret) : 
> "m" (*addr));

They allow the compiler to use update and/or index mode for the memory 
operand.

-Scott


More information about the Linuxppc-embedded mailing list