summaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/toplev.c')
-rwxr-xr-xgcc/toplev.c96
1 files changed, 0 insertions, 96 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index a9bf402..8c8112c 100755
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -219,13 +219,7 @@ int local_reg_dump = 0;
int global_reg_dump = 0;
int sched2_dump = 0;
int jump2_opt_dump = 0;
-#ifdef DELAY_SLOTS
-int dbr_sched_dump = 0;
-#endif
int flag_print_asm_name = 0;
-#ifdef STACK_REGS
-int stack_reg_dump = 0;
-#endif
#ifdef MACHINE_DEPENDENT_REORG
int mach_dep_reorg_dump = 0;
#endif
@@ -1148,9 +1142,6 @@ int sched_time;
int local_alloc_time;
int global_alloc_time;
int sched2_time;
-#ifdef DELAY_SLOTS
-int dbr_sched_time;
-#endif
int shorten_branch_time;
int stack_reg_time;
int final_time;
@@ -2451,9 +2442,6 @@ compile_file (name)
local_alloc_time = 0;
global_alloc_time = 0;
sched2_time = 0;
-#ifdef DELAY_SLOTS
- dbr_sched_time = 0;
-#endif
shorten_branch_time = 0;
stack_reg_time = 0;
final_time = 0;
@@ -2581,28 +2569,12 @@ compile_file (name)
if (graph_dump_format != no_graph)
clean_graph_dump_file (dump_base_name, ".jump2");
}
-#ifdef DELAY_SLOTS
- if (dbr_sched_dump)
- {
- clean_dump_file (".dbr");
- if (graph_dump_format != no_graph)
- clean_graph_dump_file (dump_base_name, ".dbr");
- }
-#endif
if (gcse_dump)
{
clean_dump_file (".gcse");
if (graph_dump_format != no_graph)
clean_graph_dump_file (dump_base_name, ".gcse");
}
-#ifdef STACK_REGS
- if (stack_reg_dump)
- {
- clean_dump_file (".stack");
- if (graph_dump_format != no_graph)
- clean_graph_dump_file (dump_base_name, ".stack");
- }
-#endif
#ifdef MACHINE_DEPENDENT_REORG
if (mach_dep_reorg_dump)
{
@@ -3021,16 +2993,8 @@ compile_file (name)
finish_graph_dump_file (dump_base_name, ".sched2");
if (jump2_opt_dump)
finish_graph_dump_file (dump_base_name, ".jump2");
-#ifdef DELAY_SLOTS
- if (dbr_sched_dump)
- finish_graph_dump_file (dump_base_name, ".dbr");
-#endif
if (gcse_dump)
finish_graph_dump_file (dump_base_name, ".gcse");
-#ifdef STACK_REGS
- if (stack_reg_dump)
- finish_graph_dump_file (dump_base_name, ".stack");
-#endif
#ifdef MACHINE_DEPENDENT_REORG
if (mach_dep_reorg_dump)
finish_graph_dump_file (dump_base_name, ".mach");
@@ -3060,9 +3024,6 @@ compile_file (name)
print_time ("local-alloc", local_alloc_time);
print_time ("global-alloc", global_alloc_time);
print_time ("sched2", sched2_time);
-#ifdef DELAY_SLOTS
- print_time ("dbranch", dbr_sched_time);
-#endif
print_time ("shorten-branch", shorten_branch_time);
print_time ("stack-reg", stack_reg_time);
print_time ("final", final_time);
@@ -3806,12 +3767,6 @@ rest_of_compilation (decl)
}
}
-#ifdef LEAF_REGISTERS
- leaf_function = 0;
- if (optimize > 0 && only_leaf_regs_used () && leaf_function_p ())
- leaf_function = 1;
-#endif
-
/* One more attempt to remove jumps to .+1
left by dead-store-elimination.
Also do cross-jumping this time
@@ -3845,42 +3800,12 @@ rest_of_compilation (decl)
}
#endif
- /* If a scheduling pass for delayed branches is to be done,
- call the scheduling code. */
-
-#ifdef DELAY_SLOTS
- if (optimize > 0 && flag_delayed_branch)
- {
- TIMEVAR (dbr_sched_time, dbr_schedule (insns, rtl_dump_file));
-
- if (dbr_sched_dump)
- {
- dump_rtl (".dbr", decl, print_rtl_with_bb, insns);
- if (graph_dump_format != no_graph)
- print_rtl_graph_with_bb (dump_base_name, ".dbr", insns);
- }
- }
-#endif
-
/* Shorten branches. */
TIMEVAR (shorten_branch_time,
{
shorten_branches (get_insns ());
});
-#ifdef STACK_REGS
- if (stack_reg_dump)
- open_dump_file (".stack", decl_printable_name (decl, 2));
-
- TIMEVAR (stack_reg_time, reg_to_stack (insns, rtl_dump_file));
-
- if (stack_reg_dump)
- {
- dump_rtl (".stack", decl, print_rtl_with_bb, insns);
- if (graph_dump_format != no_graph)
- print_rtl_graph_with_bb (dump_base_name, ".stack", insns);
- }
-#endif
/* Now turn the rtl into assembler code. */
@@ -4326,9 +4251,6 @@ main (argc, argv)
{
flag_defer_pop = 1;
flag_thread_jumps = 1;
-#ifdef DELAY_SLOTS
- flag_delayed_branch = 1;
-#endif
#ifdef CAN_DEBUG_WITHOUT_FP
flag_omit_frame_pointer = 1;
#endif
@@ -4414,9 +4336,6 @@ main (argc, argv)
{
case 'a':
combine_dump = 1;
-#ifdef DELAY_SLOTS
- dbr_sched_dump = 1;
-#endif
flow_dump = 1;
global_reg_dump = 1;
jump_opt_dump = 1;
@@ -4430,9 +4349,6 @@ main (argc, argv)
gcse_dump = 1;
sched_dump = 1;
sched2_dump = 1;
-#ifdef STACK_REGS
- stack_reg_dump = 1;
-#endif
#ifdef MACHINE_DEPENDENT_REORG
mach_dep_reorg_dump = 1;
#endif
@@ -4443,11 +4359,6 @@ main (argc, argv)
case 'c':
combine_dump = 1;
break;
-#ifdef DELAY_SLOTS
- case 'd':
- dbr_sched_dump = 1;
- break;
-#endif
case 'f':
flow_dump = 1;
break;
@@ -4466,11 +4377,6 @@ main (argc, argv)
case 'J':
jump2_opt_dump = 1;
break;
-#ifdef STACK_REGS
- case 'k':
- stack_reg_dump = 1;
- break;
-#endif
case 'l':
local_reg_dump = 1;
break;
@@ -4869,10 +4775,8 @@ main (argc, argv)
if (flag_schedule_insns || flag_schedule_insns_after_reload)
warning ("instruction scheduling not supported on this target machine");
#endif
-#ifndef DELAY_SLOTS
if (flag_delayed_branch)
warning ("this target machine does not have delayed branches");
-#endif
user_label_prefix = USER_LABEL_PREFIX;
if (flag_leading_underscore != -1)