see removal

From-SVN: r148664
This commit is contained in:
Sergei Dyshel 2009-06-18 16:08:00 +00:00 committed by Razya Ladelsky
parent 2a45675fd0
commit 8393a9c80c
10 changed files with 4 additions and 3939 deletions

View file

@ -1215,7 +1215,6 @@ OBJS-common = \
sched-rgn.o \
sched-vis.o \
sdbout.o \
see.o \
sel-sched-ir.o \
sel-sched-dump.o \
sel-sched.o \
@ -2734,10 +2733,6 @@ fwprop.o : fwprop.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
web.o : web.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
hard-reg-set.h $(FLAGS_H) $(BASIC_BLOCK_H) $(FUNCTION_H) output.h $(TOPLEV_H) \
$(DF_H) $(OBSTACK_H) $(TIMEVAR_H) $(TREE_PASS_H)
see.o : see.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
hard-reg-set.h $(FLAGS_H) $(BASIC_BLOCK_H) $(FUNCTION_H) output.h \
$(DF_H) $(OBSTACK_H) $(TIMEVAR_H) $(TREE_PASS_H) $(RECOG_H) $(EXPR_H) \
$(SPLAY_TREE_H) $(HASHTAB_H) $(REGS_H) dce.h
gcse.o : gcse.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
$(REGS_H) hard-reg-set.h $(FLAGS_H) $(REAL_H) insn-config.h $(GGC_H) \
$(RECOG_H) $(EXPR_H) $(BASIC_BLOCK_H) $(FUNCTION_H) output.h $(TOPLEV_H) \

View file

@ -1061,8 +1061,8 @@ Common Report Var(flag_section_anchors) Optimization
Access data in the same section from shared anchor points
fsee
Common Report Var(flag_see) Init(0)
Eliminate redundant sign extensions using LCM.
Common
Does nothing. Preserved for backward compatibility.
fshow-column
Common C ObjC C++ ObjC++ Report Var(flag_show_column) Init(1)

View file

@ -364,7 +364,7 @@ Objective-C and Objective-C++ Dialects}.
-frounding-math -fsched2-use-superblocks @gol
-fsched2-use-traces -fsched-spec-load -fsched-spec-load-dangerous @gol
-fsched-stalled-insns-dep[=@var{n}] -fsched-stalled-insns[=@var{n}] @gol
-fschedule-insns -fschedule-insns2 -fsection-anchors -fsee @gol
-fschedule-insns -fschedule-insns2 -fsection-anchors @gol
-fselective-scheduling -fselective-scheduling2 @gol
-fsel-sched-pipelining -fsel-sched-pipelining-outer-loops @gol
-fsignaling-nans -fsingle-precision-constant -fsplit-ivs-in-unroller @gol
@ -6221,11 +6221,6 @@ match the reality and hurt the performance. This only makes
sense when scheduling after register allocation, i.e.@: with
@option{-fschedule-insns2} or at @option{-O2} or higher.
@item -fsee
@opindex fsee
Eliminate redundant sign extension instructions and move the non-redundant
ones to optimal placement using lazy code motion (LCM).
@item -freschedule-modulo-scheduled-loops
@opindex freschedule-modulo-scheduled-loops
The modulo scheduling comes before the traditional scheduling, if a loop

View file

@ -2067,6 +2067,7 @@ common_handle_option (size_t scode, const char *arg, int value,
flag_pedantic_errors = pedantic = 1;
break;
case OPT_fsee:
case OPT_fcse_skip_blocks:
case OPT_floop_optimize:
case OPT_frerun_loop_opt:

View file

@ -768,7 +768,6 @@ init_optimization_passes (void)
NEXT_PASS (pass_df_initialize_no_opt);
NEXT_PASS (pass_stack_ptr_mod);
NEXT_PASS (pass_mode_switching);
NEXT_PASS (pass_see);
NEXT_PASS (pass_match_asm_constraints);
NEXT_PASS (pass_sms);
NEXT_PASS (pass_sched);

3894
gcc/see.c

File diff suppressed because it is too large Load diff

View file

@ -1,20 +0,0 @@
/* { dg-do compile }
/* { dg-options "-O2 -fsee" } */
int f(const char* ptr, int bar) {
return (((const char *)0 - ptr ) & (bar - 1)) == 0;
}
int g(const char* ptr, const char *test, int N, int bar) {
if (N == 0) {
}
else if (N > 0) {
int count = 0;
while ( count < N) {
if (!f(ptr, bar))
count++;
}
}
return f(test, bar) ;
}

View file

@ -1,9 +0,0 @@
/* { dg-do compile } */
/* { dg-options "-O2 -fsee" } */
unsigned long g(int a, int b) {
return a / b;
}
unsigned long f(long int a) {
return g(a, 1<<13);
}

View file

@ -167,7 +167,6 @@ DEFTIMEVAR (TV_BRANCH_PROB , "branch prediction")
DEFTIMEVAR (TV_VPT , "value profile opts")
DEFTIMEVAR (TV_COMBINE , "combiner")
DEFTIMEVAR (TV_IFCVT , "if-conversion")
DEFTIMEVAR (TV_SEE , "see")
DEFTIMEVAR (TV_REGMOVE , "regmove")
DEFTIMEVAR (TV_MODE_SWITCH , "mode switching")
DEFTIMEVAR (TV_SMS , "sms modulo scheduling")

View file

@ -479,7 +479,6 @@ extern struct rtl_opt_pass pass_split_all_insns;
extern struct rtl_opt_pass pass_fast_rtl_byte_dce;
extern struct rtl_opt_pass pass_lower_subreg2;
extern struct rtl_opt_pass pass_mode_switching;
extern struct rtl_opt_pass pass_see;
extern struct rtl_opt_pass pass_sms;
extern struct rtl_opt_pass pass_sched;
extern struct rtl_opt_pass pass_ira;