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]
Other format: [Raw text]

Re: scavanging a reg


On Tue, Nov 13, 2001 at 11:42:01AM -0500, Aldy Hernandez wrote:
>       for (i = GP_ARG_MAX + 1; i <= 32; ++i)
>         if (! fixed_regs[i] && call_used_regs[i])
>           return i;

Only do this if you need a lot of them.  And if you do need a lot
of them, you'll get better scheduling if you cycle through them.

See next_scratch_gr_reg in ia64.c if you really need this.


r~


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