This is the mail archive of the
mailing list for the GCC project.
Re: How to "disable" register allocation?
- From: Vladimir Makarov <vmakarov at redhat dot com>
- To: Øyvind Harboe <oyvind dot harboe at zylin dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 07 Apr 2005 13:32:46 -0400
- Subject: Re: How to "disable" register allocation?
- References: <firstname.lastname@example.org>
Øyvind Harboe wrote:
Just set all elements of reg_renumber array to -1 before the reload.
Minimizing of register usage in reload would be more tricky.
Is there an option(compile/build time?) to tell GCC to use as few
registers as possible?
Basically I want to run some tests where the assumption is that stack
slots generate faster/smaller code than registers.
Any pointers to where I should look in the GCC source, would be greatly