* Restricting register usage
@ 2001-09-10 17:19 Philip O'Toole
2001-09-27 5:39 ` Alexandre Oliva
0 siblings, 1 reply; 2+ messages in thread
From: Philip O'Toole @ 2001-09-10 17:19 UTC (permalink / raw)
To: 'gcc-help@gcc.gnu.org'
Hi,
I'm using the ppc-4xx version of GCC and GAS. Can someone please direct as
how I restrict the registers that the compiler uses. I'd like it to just use
registers r0-r7 and r24-r31. I assume I use some sort of compiler/assembler
directive.
Thanks,
Philip.
__________________________________
Philip O'Toole,
Software Engineer,
SkyStream Networks,
455, DeGuigne Drive,
Sunnyvale,
California 94086-3835,
United States of America.
Building networks without limits.
+1 (408) 616-3143
potoole@skystream.com
http://www.skystream.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Restricting register usage
2001-09-10 17:19 Restricting register usage Philip O'Toole
@ 2001-09-27 5:39 ` Alexandre Oliva
0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Oliva @ 2001-09-27 5:39 UTC (permalink / raw)
To: Philip O'Toole; +Cc: 'gcc-help@gcc.gnu.org'
On Sep 10, 2001, "Philip O'Toole" <philip.otoole@skystream.com> wrote:
> I'm using the ppc-4xx version of GCC and GAS. Can someone please direct as
> how I restrict the registers that the compiler uses. I'd like it to just use
> registers r0-r7 and r24-r31.
Look for -ffixed-REG in the GCC manual.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-09-27 5:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-10 17:19 Restricting register usage Philip O'Toole
2001-09-27 5:39 ` Alexandre Oliva
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).