Re: What does that "%U0" and "%X0" mean

From: Brian Gerst
Date: Fri Oct 07 2005 - 07:46:12 EST


sampersy@xxxxxxxxx wrote:
> What does that "%U0" and "%X0" mean in
> __asm__ __volatile__("stb%U0%X0 %1,%0; eieio" : "=m" (*addr) : "r" (val));
>
> does any reference existing ?

The X and U prefixes are arch specific. This looks like ppc code. The
only references I've every found are the gcc source code. The gcc
source says:

U: Print 'u' if this has an auto-increment or auto-decrement.
X: Print 'x' if this is an indexed address.

--
Brian Gerst
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/