This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
how to change register allocation order
- To: <gcc at gcc dot gnu dot org>
- Subject: how to change register allocation order
- From: "zhang tao" <warmice at sina dot com>
- Date: Fri, 25 May 2001 23:30:17 +0800
Hi,all:
I want to port GCC to our own CPU. It is very similiar to ARM, so I
am changing the machine description of ARM according to our needs. When I
changed the register usage, I encountered some problems. I found although I
changed the MACRO REG_ALLOC_ORDER, there is no effect at all. Does anyone
know the possible reason? How can I change the register allocation order in
GCC?
Thanks
Tao Zhang