From: Paul Mackerras <paulus@samba.org>
To: yuraxa <ygeorgie@gmail.com>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: ppc inline asm syntax
Date: Sun, 14 Jan 2007 10:48:01 +1100 [thread overview]
Message-ID: <17833.28593.835578.560151@cargo.ozlabs.ibm.com> (raw)
In-Reply-To: <7cc53cfa0701131028y42ed2b9age0fccf29c35fd708@mail.gmail.com>
yuraxa writes:
> 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.
'X' turns into "x" if gcc wants to use indexed addressing mode, or
nothing if gcc wants to use base + offset mode.
I agree that the gcc documentation of the details of inline assembly
for each specific architecture is woeful. I have found it useful in
the past to get hold of the gcc source code and look in rs6000.md for
examples of what can be done.
Paul.
prev parent reply other threads:[~2007-01-13 23:48 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
2007-01-13 18:28 ` yuraxa
2007-01-13 23:09 ` Alan Modra
2007-01-13 23:48 ` Paul Mackerras [this message]
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=17833.28593.835578.560151@cargo.ozlabs.ibm.com \
--to=paulus@samba.org \
--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).