Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Juan Quintela <quintela@mandrakesoft.com>
To: Amit.Lubovsky@infineon.com
Cc: linux-mips@linux-mips.org
Subject: Re: mips5kc - cpu registers
Date: Mon, 31 Mar 2003 18:05:07 +0200	[thread overview]
Message-ID: <863cl3a5e4.fsf@trasno.mitica> (raw)
In-Reply-To: <04C8EDC5AE3FD611ABE40002B39CF69B07F37F@ntah901e.savan.com> (Amit.Lubovsky@infineon.com's message of "Mon, 31 Mar 2003 18:45:43 +0200")

>>>>> "amit" == Amit Lubovsky <Amit.Lubovsky@infineon.com> writes:

amit> Hi,
amit> is there a possibility to use cpu registers in the code (temporarily)
amit> instead of allocating 
amit> automatic variables something like:
amit> func a()
amit> {
amit> FAST int, i, tmp;
amit> tmp = ...
amit> ...
amit> }

theorically, 
             register int i, tmp;

should de that, but I think that no modern compiler will honour the
register keyword.  Anyways, you should be doing something really
strange for the  compiler not to choose a register for a local
variable when it should automagically.

Later, Juan.


-- 
In theory, practice and theory are the same, but in practice they 
are different -- Larry McVoy

  reply	other threads:[~2003-03-31 16:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-31 16:45 mips5kc - cpu registers Amit.Lubovsky
2003-03-31 16:05 ` Juan Quintela [this message]
2003-03-31 17:21 ` Kevin D. Kissell
2003-03-31 17:21   ` Kevin D. Kissell
2003-04-01  0:37   ` Muthukumar Ratty
2003-04-01  0:37     ` Muthukumar Ratty

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=863cl3a5e4.fsf@trasno.mitica \
    --to=quintela@mandrakesoft.com \
    --cc=Amit.Lubovsky@infineon.com \
    --cc=linux-mips@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