Mon Aug 24 10:25:46 1998 Jeffrey A Law (law@cygnus.com)
+ * loop.c (scan_loop): Honor AVOID_CC_MODE_COPIES.
+
* h8300.h (STRIP_NAME_ENCODING): Fix typo.
* sparc.md (TFmode splits): Use reg_overlap_mentioned_p to detect
for (i = 0; i < FIRST_PSEUDO_REGISTER; i++)
may_not_optimize[i] = 1, n_times_set[i] = 1;
+
+#ifdef AVOID_CCMODE_COPIES
+ /* Don't try to move insns which set CC registers if we should not
+ create CCmode register copies. */
+ be avoiding
+ for (i = FIRST_PSEUDO_REGISTER; i < nregs - loop_mems_idx; i++)
+ if (GET_MODE_CLASS (GET_MODE (regno_reg_rtx[i])) == MODE_CC)
+ may_not_optimize[i] = 1;
+#endif
+
bcopy ((char *) n_times_set, (char *) n_times_used, nregs * sizeof (int));
if (loop_dump_stream)