public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* What does that "%U0" and "%X0" mean
@ 2005-10-07 12:08 sampersy
  2005-10-07 12:46 ` Brian Gerst
  0 siblings, 1 reply; 2+ messages in thread
From: sampersy @ 2005-10-07 12:08 UTC (permalink / raw)
  To: linux-kernel

What does that "%U0" and "%X0" mean in 
__asm__ __volatile__("stb%U0%X0 %1,%0; eieio" : "=m" (*addr) : "r" (val));

does any reference existing ?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: What does that "%U0" and "%X0" mean
  2005-10-07 12:08 What does that "%U0" and "%X0" mean sampersy
@ 2005-10-07 12:46 ` Brian Gerst
  0 siblings, 0 replies; 2+ messages in thread
From: Brian Gerst @ 2005-10-07 12:46 UTC (permalink / raw)
  To: sampersy; +Cc: linux-kernel

sampersy@gmail.com 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-10-07 12:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-07 12:08 What does that "%U0" and "%X0" mean sampersy
2005-10-07 12:46 ` Brian Gerst

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox