mirror of
https://gcc.gnu.org/git/gcc.git
synced 2026-02-22 12:00:03 -05:00
loop.c (strength_reduce): Disable biv->giv translations and giv recombination.
* loop.c (strength_reduce): Disable biv->giv translations and
giv recombination. For the release branch only.
Should work around 990513-1.c regressions. Possibly others. I'll be
running some new tests soon :-)
From-SVN: r27463
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
Thu Jun 10 01:22:59 1999 Jeffrey A Law (law@cygnus.com)
|
||||
|
||||
* loop.c (strength_reduce): Disable biv->giv translations and
|
||||
giv recombination. For the release branch only.
|
||||
|
||||
Wed Jun 9 15:57:57 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
|
||||
|
||||
* rs6000.md (movsi_got_internal_mem): Delete.
|
||||
|
||||
17
gcc/loop.c
17
gcc/loop.c
@@ -4134,8 +4134,15 @@ strength_reduce (scan_start, end, loop_top, insn_count,
|
||||
n_extra_increment += bl->biv_count - 1;
|
||||
|
||||
/* If the loop contains volatile memory references do not allow any
|
||||
replacements to take place, since this could loose the volatile markers. */
|
||||
if (n_extra_increment && ! loop_has_volatile)
|
||||
replacements to take place, since this could loose the volatile
|
||||
markers.
|
||||
|
||||
Disabled for the gcc-2.95 release. There are still some problems with
|
||||
giv recombination. We have a patch from Joern which should fix those
|
||||
problems. But the patch is fairly complex and not really suitable for
|
||||
the gcc-2.95 branch at this stage. */
|
||||
if (0 && n_extra_increment && ! loop_has_volatile)
|
||||
|
||||
{
|
||||
int nregs = first_increment_giv + n_extra_increment;
|
||||
|
||||
@@ -4740,7 +4747,13 @@ strength_reduce (scan_start, end, loop_top, insn_count,
|
||||
VARRAY_GROW (reg_iv_type, nregs);
|
||||
VARRAY_GROW (reg_iv_info, nregs);
|
||||
}
|
||||
#if 0
|
||||
/* Disabled for the gcc-2.95 release. There are still some problems with
|
||||
giv recombination. We have a patch from Joern which should fix those
|
||||
problems. But the patch is fairly complex and not really suitable for
|
||||
the gcc-2.95 branch at this stage. */
|
||||
recombine_givs (bl, loop_start, loop_end, unroll_p);
|
||||
#endif
|
||||
|
||||
/* Reduce each giv that we decided to reduce. */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user