linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@suse.de>
To: yuraxa <ygeorgie@gmail.com>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: ppc inline asm syntax
Date: Sat, 13 Jan 2007 14:20:20 +0100	[thread overview]
Message-ID: <je64bb6p2j.fsf@sykes.suse.de> (raw)
In-Reply-To: <7cc53cfa0701130341x2dfdc8f1s9cb70ffa741fafb6@mail.gmail.com> (yuraxa's message of "Sat, 13 Jan 2007 12:41:39 +0100")

yuraxa <ygeorgie@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@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."

  reply	other threads:[~2007-01-13 13:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-13 11:41 ppc inline asm syntax yuraxa
2007-01-13 13:20 ` Andreas Schwab [this message]
2007-01-13 18:28   ` yuraxa
2007-01-13 23:09     ` Alan Modra
2007-01-13 23:48     ` Paul Mackerras

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=je64bb6p2j.fsf@sykes.suse.de \
    --to=schwab@suse.de \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=ygeorgie@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).