From: Daniel Jacobowitz <dan@debian.org>
To: Indigodfw <indigodfw@yahoo.com>
Cc: Ralf Baechle <ralf@linux-mips.org>, linux-mips@linux-mips.org
Subject: Re: question about memory constraint in atomic_add
Date: Thu, 19 Feb 2004 13:18:16 -0500 [thread overview]
Message-ID: <20040219181816.GA24189@nevyn.them.org> (raw)
In-Reply-To: <20040219001132.30180.qmail@web9503.mail.yahoo.com>
On Wed, Feb 18, 2004 at 04:11:32PM -0800, Indigodfw wrote:
> Well, is not that what we want?
> That is, we want to load (using ll) from &v->counter.
>
> Should not the code have been
> ll %0, 0(%1)
> where %1 is "=m" (&v->counter)
No, it would be ll %0, %1. The result of an m constraint will be a
register-and-offset term like 0($13) or 256($13).
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
prev parent reply other threads:[~2004-02-19 18:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-14 15:11 question about memory constraint in atomic_add Indigodfw
2004-02-18 13:45 ` Ralf Baechle
2004-02-19 0:11 ` Indigodfw
2004-02-19 18:18 ` Daniel Jacobowitz [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=20040219181816.GA24189@nevyn.them.org \
--to=dan@debian.org \
--cc=indigodfw@yahoo.com \
--cc=linux-mips@linux-mips.org \
--cc=ralf@linux-mips.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox