This is the mail archive of the gcc-patches@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: Patch (rs6000): Do not save/restore user-defined global registers


On Fri, Jun 03, 2005 at 10:47:15AM -0700, Dale Johannesen wrote:
> +   for (i = 0; i < 32 - first_greg; i++)
> +     if (global_regs[first_greg + i])

This is a confusing way to write

	for (i = first_greg; i < 32; i++)
	  if (global_regs[i])

No comment on the rest of the ppc-specific stuff...


r~


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