This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: how to change register allocation order


On May 26, 2001, "zhang tao" <warmice@sina.com> wrote:

> It's strange why the MACRO REG_ALLOC_ORDER is no effect at all.

Give an example of a situation in which it has no effect.  Include rtl
dumps before and after local and global register allocation.

> In arm, arg registers are r0-r3, while in our CPU they are r25-r28.
> I changed the MACRO FUNCTION_ARG_REGNO_P (REGNO), it's no effect
> either!!

See the documentation of FUNCTION_VALUE.  

-- 
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]