From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexandre Oliva To: "Philip O'Toole" Cc: "'gcc-help@gcc.gnu.org'" Subject: Re: Restricting register usage Date: Thu, 27 Sep 2001 05:39:00 -0000 Message-id: References: X-SW-Source: 2001-09/msg00130.html On Sep 10, 2001, "Philip O'Toole" 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