All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Chris Friesen" <cfriesen@nortel.com>
To: Scott Wood <scottwood@freescale.com>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: help with inline assembly code?
Date: Fri, 24 Apr 2009 12:23:45 -0600	[thread overview]
Message-ID: <49F203B1.6040508@nortel.com> (raw)
In-Reply-To: <49F20181.10206@freescale.com>

Scott Wood wrote:
> 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".

Doh.  Sorry, apparently I can't read today.  Both of those fixes seem to 
work.

Much appreciated.

Chris

      reply	other threads:[~2009-04-24 18:27 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
2009-04-24 18:23       ` 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=49F203B1.6040508@nortel.com \
    --to=cfriesen@nortel.com \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=scottwood@freescale.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 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.