From: Jeffrey A Law Date: Thu, 8 Apr 1999 18:21:29 +0000 (+0000) Subject: * loop.c (strength_reduce): Re-enable Joern's loop improvements. X-Git-Tag: prereleases/gcc-2.95-test~1098 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d4ca58b3e001758ce57da07cfd636a52c012aa4d;p=thirdparty%2Fgcc.git * loop.c (strength_reduce): Re-enable Joern's loop improvements. From-SVN: r26299 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8693fb902760..5744e80db840 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Thu Apr 8 19:20:18 1999 Jeffrey A Law (law@cygnus.com) + + * loop.c (strength_reduce): Re-enable Joern's loop improvements. + Thu Apr 8 09:37:40 1999 Nick Clifton * config/arm/arm.c (arm_print_operand): Undo previous change - diff --git a/gcc/loop.c b/gcc/loop.c index a626784a02a4..55f52bf6c51e 100644 --- a/gcc/loop.c +++ b/gcc/loop.c @@ -4118,8 +4118,7 @@ strength_reduce (scan_start, end, loop_top, insn_count, /* If the loop contains volatile memory references do not allow any replacements to take place, since this could loose the volatile markers. */ - /* XXX Temporary. */ - if (0 && n_extra_increment && ! loop_has_volatile) + if (n_extra_increment && ! loop_has_volatile) { int nregs = first_increment_giv + n_extra_increment; @@ -4704,8 +4703,6 @@ strength_reduce (scan_start, end, loop_top, insn_count, } } -#if 0 - /* XXX Temporary. */ /* Now that we know which givs will be reduced, try to rearrange the combinations to reduce register pressure. recombine_givs calls find_life_end, which needs reg_iv_type and @@ -4724,7 +4721,6 @@ strength_reduce (scan_start, end, loop_top, insn_count, VARRAY_GROW (reg_iv_info, nregs); } recombine_givs (bl, loop_start, loop_end, unroll_p); -#endif /* Reduce each giv that we decided to reduce. */