From: Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>
To: gcc-help@gnu.org
Subject: Re: "=rXX" asm constraints on powerpc?
Date: Mon, 22 Sep 2003 17:29:00 -0000 [thread overview]
Message-ID: <20030922172748.GF627@212.23.136.22> (raw)
In-Reply-To: <20030922161348.GD627@212.23.136.22>
On Mon, Sep 22, 2003 at 06:13:48PM +0200, Marcus Brinkmann wrote:
> I want to implement system call stubs on PPC. The code I want to end up
> this is the following ("tlbia" is really used as a slow system call here,
> that returns a pointer and three ints in r3 to r6):
I might just have misunderstood the wording in the gcc manual. It seemed to
me that gcc doesn't guarantee me that a register I allocate for a local
variable is really used for that variable. But the manual only says that it
is not tied to that variable _at all times_. At some times, and I assume
now that at all times it matters to me (in the asm statement), it will be
tied to that variable.
In that circumstances, I can do what I want to do with local vars in the
right registers, without explicit mr instructions.
Thanks,
Marcus
--
`Rhubarb is no Egyptian god.' GNU http://www.gnu.org marcus@gnu.org
Marcus Brinkmann The Hurd http://www.gnu.org/software/hurd/
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de/
prev parent reply other threads:[~2003-09-22 17:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-22 16:16 Marcus Brinkmann
2003-09-22 17:29 ` Marcus Brinkmann [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=20030922172748.GF627@212.23.136.22 \
--to=marcus.brinkmann@ruhr-uni-bochum.de \
--cc=gcc-help@gnu.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).