This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch (rs6000): Do not save/restore user-defined global registers
- From: Richard Henderson <rth at redhat dot com>
- To: Dale Johannesen <dalej at apple dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 4 Jun 2005 13:35:05 -0700
- Subject: Re: Patch (rs6000): Do not save/restore user-defined global registers
- References: <4bca2a8a89d26b0c912c422e931ce257@apple.com>
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~