From: Scott Wood <scottwood@freescale.com>
To: Chris Friesen <cfriesen@nortel.com>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: help with inline assembly code?
Date: Fri, 24 Apr 2009 13:14:25 -0500 [thread overview]
Message-ID: <49F20181.10206@freescale.com> (raw)
In-Reply-To: <49F1FF98.1000100@nortel.com>
Chris Friesen wrote:
> Scott Wood wrote:
>> Is the compiler assigning r0 to addr? That will be treated as a
>> literal zero instead. Try changing "r" (addr) to "b" (addr), or use
>> stwx.
>
> Bingo! Is there a constraint to tell the compiler to not use r0 for addr?
Yes, "b".
-Scott
next prev parent reply other threads:[~2009-04-24 18:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-24 17:22 help with inline assembly code? Chris Friesen
2009-04-24 17:34 ` Scott Wood
2009-04-24 18:06 ` Chris Friesen
2009-04-24 18:14 ` Scott Wood [this message]
2009-04-24 18:23 ` Chris Friesen
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=49F20181.10206@freescale.com \
--to=scottwood@freescale.com \
--cc=cfriesen@nortel.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.