This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch: fix SPEC regressions
- From: Dale Johannesen <dalej at apple dot com>
- To: Richard Henderson <rth at redhat dot com>
- Cc: Dale Johannesen <dalej at apple dot com>, gcc-patches at gcc dot gnu dot org
- Date: Tue, 29 Oct 2002 09:40:32 -0800
- Subject: Re: Patch: fix SPEC regressions
On Tuesday, October 29, 2002, at 07:46 AM, Richard Henderson wrote:
On Mon, Oct 28, 2002 at 11:40:27AM -0800, Dale Johannesen wrote:
! /* (abs (final - initial) + abs_inc - 1 + abs_inc *
unroll_number - abs_inc)
/ (abs_inc * unroll_number) */
Surely this simplifies to
(abs(final-initial) + abs_inc*unroll_number - 1) / ...
Sure, I left it this way to make reading it easier. Not that's
it's easy anyway.
+ if (REGNO (x) >= regs->num)
+ return 0;
Ok.
Does this apply to the whole patch, or just the second part?