From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Kevin Diggs <kevdig@hypersurf.com>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: inline assembly & r0 SOS
Date: Wed, 06 Aug 2008 10:35:07 +1000 [thread overview]
Message-ID: <1217982907.24157.217.camel@pasglop> (raw)
In-Reply-To: <4898EE60.9080206@hypersurf.com>
On Tue, 2008-08-05 at 17:20 -0700, Kevin Diggs wrote:
> Hi,
>
> thats bad right? Because the "addi 0, 0, 23" will not work as expected
> because of the "special property" of r0. FYI: The first three lines
> after the "#APP" are from a similar function get_PLL_ratio().
>
> Is there a way to blacklist r0?
Yes. Use "b" instead of "r" in the constraints to force the compiler
to avoid r0 when assigning a register.
Cheers,
Ben.
next prev parent reply other threads:[~2008-08-06 0:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-06 0:20 inline assembly & r0 SOS Kevin Diggs
2008-08-06 0:35 ` Benjamin Herrenschmidt [this message]
2008-08-06 0:41 ` Jeremy Kerr
2008-08-06 2:31 ` Kevin Diggs
2008-08-06 8:49 ` Andreas Schwab
2008-08-06 14:39 ` Segher Boessenkool
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=1217982907.24157.217.camel@pasglop \
--to=benh@kernel.crashing.org \
--cc=kevdig@hypersurf.com \
--cc=linuxppc-dev@ozlabs.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.