From: Chris Friesen <cfriesen@nortel•com>
To: Hollis Blanchard <hollis@penguinppc•org>
Cc: Linux PPC Dev <linuxppc-dev@ozlabs•org>
Subject: Re: syntax for clobber list with inline assembly
Date: Wed, 08 Jun 2005 15:39:45 -0600 [thread overview]
Message-ID: <42A765A1.2000000@nortel.com> (raw)
In-Reply-To: <455acab93dd9ab20cbbc1cff400f84e3@penguinppc.org>
Hollis Blanchard wrote:
> But it should be said that much better style is to let the compiler
> choose registers for you, i.e. don't hardcode register numbers at all.
> For example (well, it's contrived, but I hope you get the idea):
Certainly that would be the normal case.
In this particular case I'm writing some code to test whether my
function to flush/clear the entire cache is properly working.
It uses self-modifying code, and I've got some instructions using r3
hardcoded as hex. Thus the specific use of r3.
Chris
prev parent reply other threads:[~2005-06-08 21:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-07 14:49 syntax for clobber list with inline assembly Chris Friesen
2005-06-07 15:00 ` Segher Boessenkool
2005-06-08 1:02 ` Hollis Blanchard
2005-06-08 21:39 ` Chris Friesen [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=42A765A1.2000000@nortel.com \
--to=cfriesen@nortel$(echo .)com \
--cc=hollis@penguinppc$(echo .)org \
--cc=linuxppc-dev@ozlabs$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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