| To: | Amit.Lubovsky@infineon.com |
|---|---|
| Subject: | Re: mips5kc - cpu registers |
| From: | Juan Quintela <quintela@mandrakesoft.com> |
| Date: | Mon, 31 Mar 2003 18:05:07 +0200 |
| Cc: | linux-mips@linux-mips.org |
| In-reply-to: | <04C8EDC5AE3FD611ABE40002B39CF69B07F37F@ntah901e.savan.com> (Amit.Lubovsky@infineon.com's message of "Mon, 31 Mar 2003 18:45:43 +0200") |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <04C8EDC5AE3FD611ABE40002B39CF69B07F37F@ntah901e.savan.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2.93 |
>>>>> "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
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | mips5kc - cpu registers, Amit . Lubovsky |
|---|---|
| Next by Date: | Re: mips5kc - cpu registers, Kevin D. Kissell |
| Previous by Thread: | mips5kc - cpu registers, Amit . Lubovsky |
| Next by Thread: | Re: mips5kc - cpu registers, Kevin D. Kissell |
| Indexes: | [Date] [Thread] [Top] [All Lists] |