toplev.c (flag_schedule_reverse_before_reload): Delete variable.

* toplev.c (flag_schedule_reverse_before_reload): Delete variable.
        (flag_schedule_reverse_after_reload): Likewise.
        (f_options): Remove reverse scheduling support.
        * flags.h (flag_schedule_reverse_before_reload): Delete declaration.
        (flag_schedule_reverse_after_reload): Likewise.
        * haifa-sched.c (rank_for_schedule): Remove support for reverse
        scheduling.
Trivial cleanup.

From-SVN: r18020
This commit is contained in:
Jeffrey A Law 1998-02-15 22:28:33 +00:00 committed by Jeff Law
parent 17248a6b14
commit 8e7336f849
4 changed files with 12 additions and 23 deletions

View File

@ -1,3 +1,13 @@
Sun Feb 15 23:28:44 1998 Jeffrey A Law (law@cygnus.com)
* toplev.c (flag_schedule_reverse_before_reload): Delete variable.
(flag_schedule_reverse_after_reload): Likewise.
(f_options): Remove reverse scheduling support.
* flags.h (flag_schedule_reverse_before_reload): Delete declaration.
(flag_schedule_reverse_after_reload): Likewise.
* haifa-sched.c (rank_for_schedule): Remove support for reverse
scheduling.
Sun Feb 15 21:33:55 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.c: Get system includes, prototypes and macros via "system.h"

View File

@ -339,18 +339,12 @@ extern int flag_schedule_insns_after_reload;
flag_schedule_speculative_load means allow speculative motion of some
load insns.
flag_schedule_speculative_load_dangerous allows speculative motion of more
load insns.
flag_schedule_reverse_before_reload means try to reverse original order
of insns (S).
flag_schedule_reverse_after_reload means try to reverse original order
of insns (R). */
load insns. */
extern int flag_schedule_interblock;
extern int flag_schedule_speculative;
extern int flag_schedule_speculative_load;
extern int flag_schedule_speculative_load_dangerous;
extern int flag_schedule_reverse_before_reload;
extern int flag_schedule_reverse_after_reload;
/* flag_on_branch_count_reg means try to replace add-1,compare,branch tupple
by a cheaper branch, on a count register. */

View File

@ -4133,12 +4133,6 @@ rank_for_schedule (x, y)
int val, priority_val, spec_val, prob_val, weight_val;
/* schedule reverse is a stress test of the scheduler correctness,
controlled by -fsched-reverse option. */
if ((reload_completed && flag_schedule_reverse_after_reload) ||
(!reload_completed && flag_schedule_reverse_before_reload))
return INSN_LUID (tmp2) - INSN_LUID (tmp);
/* prefer insn with higher priority */
priority_val = INSN_PRIORITY (tmp2) - INSN_PRIORITY (tmp);
if (priority_val)

View File

@ -624,19 +624,12 @@ int flag_schedule_insns_after_reload = 0;
flag_schedule_speculative_load means allow speculative motion of some
load insns.
flag_schedule_speculative_load_dangerous allows speculative motion of more
load insns.
flag_schedule_reverse_before_reload means try to reverse original order
of insns (S).
flag_schedule_reverse_after_reload means try to reverse original order
of insns (R). */
load insns. */
int flag_schedule_interblock = 1;
int flag_schedule_speculative = 1;
int flag_schedule_speculative_load = 0;
int flag_schedule_speculative_load_dangerous = 0;
int flag_schedule_reverse_before_reload = 0;
int flag_schedule_reverse_after_reload = 0;
/* flag_on_branch_count_reg means try to replace add-1,compare,branch tupple
by a cheaper branch, on a count register. */
@ -751,8 +744,6 @@ struct { char *string; int *variable; int on_value;} f_options[] =
{"sched-spec",&flag_schedule_speculative, 1},
{"sched-spec-load",&flag_schedule_speculative_load, 1},
{"sched-spec-load-dangerous",&flag_schedule_speculative_load_dangerous, 1},
{"sched-reverse-S",&flag_schedule_reverse_before_reload, 1},
{"sched-reverse-R",&flag_schedule_reverse_after_reload, 1},
{"branch-count-reg",&flag_branch_on_count_reg, 1},
#endif /* HAIFA */
{"pic", &flag_pic, 1},