Paolo Bonzini - [dataflow] speed up by 2%, patch 4/4 (original) (raw)
This is the mail archive of the gcc-patches@gcc.gnu.orgmailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
[dataflow] speed up by 2%, patch 4/4 - remove LOG_LINKS field from insns
- From: Paolo Bonzini
- To: GCC Patches , Kenneth Zadeck
- Date: Mon, 19 Feb 2007 13:21:26 +0100
- Subject: [dataflow] speed up by 2%, patch 4/4 - remove LOG_LINKS field from insns
This has the benefit of slightly lower memory consumption, too.Bootstrapped/regtested i686-pc-linux-gnu together with the others. Ok?Paolo
2007-01-18 Paolo Bonzini bonzini@gnu.org
* tree-pass.h (PROP_luid): New.
* dce.c (pass_rtl_dse1, pass_rtl_dse2, pass_rtl_dse3): Provide it.
* fwprop.c (pass_rtl_fwprop, pass_rtl_fwprop_addr): Likewise.
* bb-reorder.c (pass_partition_blocks): Destroy it.
* bt-load.c (pass_branch_target_load_optimize1,
pass_branch_target_load_optimize2): Likewise.
* cse.c (pass_cse, pass_cse2): Likewise.
* except.c (pass_rtl_eh): Likewise.
* function.c (pass_instantiate_virtual_regs): Likewise.
* gcse.c (pass_gcse): Likewise.
* global.c (pass_global_alloc): Likewise.
* ifcvt.c (pass_rtl_ifcvt, pass_if_after_combine,
pass_if_after_reload): Likewise.
* init-regs.c (pass_initialize_regs): Likewise.
* local-alloc.c (pass_local_alloc): Likewise.
* loop-init.c (pass_rtl_move_loop_invariants, pass_rtl_unswitch,
pass_rtl_unroll_andpeel_loops, pass_rtl_doloop): Likewise.
* lower-subreg.c (pass_lower_subreg1, pass_lower_subreg2): Likewise.
* mode-switching.c (pass_mode_switching): Likewise.
* modulo-sched.c (pass_sms): Likewise.
* recog.c (pass_peephole2): Likewise.
* reg-stack.c (pass_stack_regs): Likewise.
* regmove.c (pass_regmove): Likewise.
* reorg.c (pass_delay_slots): Likewise.
* rtl-factoring.c (pass_rtl_seqabstr): Likewise.
* see.c (pass_see): Likewise.
Index: bb-reorder.c
--- bb-reorder.c (revision 122099) +++ bb-reorder.c (working copy) @@ -2272,7 +2272,7 @@ struct tree_opt_pass pass_partition_bloc TV_REORDER_BLOCKS, /* tv_id / 0, / properties_required / 0, / properties_provided / - 0, / properties_destroyed / + PROP_luid, / properties_destroyed / 0, / todo_flags_start / TODO_dump_func, / todo_flags_finish / 0 / letter */ Index: bt-load.c
--- bt-load.c (revision 122099) +++ bt-load.c (working copy) @@ -1567,7 +1567,7 @@ struct tree_opt_pass pass_branch_target_ 0, /* tv_id / 0, / properties_required / 0, / properties_provided / - 0, / properties_destroyed / + PROP_luid, / properties_destroyed / 0, / todo_flags_start / TODO_dump_func | TODO_ggc_collect, / todo_flags_finish */ Index: cse.c
--- cse.c (revision 122099) +++ cse.c (working copy) @@ -7030,7 +7030,7 @@ struct tree_opt_pass pass_cse = TV_CSE, /* tv_id / 0, / properties_required / 0, / properties_provided / - 0, / properties_destroyed / + PROP_luid, / properties_destroyed / 0, / todo_flags_start / TODO_dump_func | TODO_ggc_collect | @@ -7089,7 +7089,7 @@ struct tree_opt_pass pass_cse2 = TV_CSE2, / tv_id / 0, / properties_required / 0, / properties_provided / - 0, / properties_destroyed / + PROP_luid, / properties_destroyed / 0, / todo_flags_start */ TODO_dump_func | TODO_ggc_collect | Index: dce.c
--- dce.c (revision 122099) +++ dce.c (working copy) @@ -1797,7 +1797,7 @@ struct tree_opt_pass pass_rtl_dse1 = 0, /* static_pass_number / TV_DSE1, / tv_id / 0, / properties_required / - 0, / properties_provided / + PROP_luid, / properties_provided / 0, / properties_destroyed / 0, / todo_flags_start / TODO_dump_func | @@ -1816,7 +1816,7 @@ struct tree_opt_pass pass_rtl_dse2 = 0, / static_pass_number / TV_DSE2, / tv_id / 0, / properties_required / - 0, / properties_provided / + PROP_luid, / properties_provided / 0, / properties_destroyed / 0, / todo_flags_start / TODO_dump_func | @@ -1835,7 +1835,7 @@ struct tree_opt_pass pass_rtl_dse3 = 0, / static_pass_number / TV_DSE3, / tv_id / 0, / properties_required / - 0, / properties_provided / + PROP_luid, / properties_provided / 0, / properties_destroyed / 0, / todo_flags_start */ TODO_dump_func | Index: except.c
--- except.c (revision 122099) +++ except.c (working copy) @@ -3989,7 +3989,7 @@ struct tree_opt_pass pass_rtl_eh = TV_JUMP, /* tv_id / 0, / properties_required / 0, / properties_provided / - 0, / properties_destroyed / + PROP_luid, / properties_destroyed / 0, / todo_flags_start / TODO_dump_func, / todo_flags_finish / 'h' / letter */ Index: function.c
--- function.c (revision 122099) +++ function.c (working copy) @@ -1729,7 +1729,7 @@ struct tree_opt_pass pass_instantiate_vi 0, /* tv_id / 0, / properties_required / 0, / properties_provided / - 0, / properties_destroyed / + PROP_luid, / properties_destroyed / 0, / todo_flags_start / TODO_dump_func, / todo_flags_finish / 0 / letter */ Index: fwprop.c
--- fwprop.c (revision 122099) +++ fwprop.c (working copy) @@ -1002,7 +1002,7 @@ struct tree_opt_pass pass_rtl_fwprop = NULL, /* next / 0, / static_pass_number / TV_FWPROP, / tv_id / 0, / properties_required / - 0, / properties_provided / + PROP_luid, / properties_provided / 0, / properties_destroyed / 0, / todo_flags_start / @@ -1051,7 +1051,7 @@ struct tree_opt_pass pass_rtl_fwprop_add NULL, / next / 0, / static_pass_number / TV_FWPROP, / tv_id / 0, / properties_required / - 0, / properties_provided / + PROP_luid, / properties_provided / 0, / properties_destroyed / 0, / todo_flags_start */ Index: gcse.c
--- gcse.c (revision 122099) +++ gcse.c (working copy) @@ -6727,7 +6727,7 @@ struct tree_opt_pass pass_gcse = TV_GCSE, /* tv_id / 0, / properties_required / 0, / properties_provided / - 0, / properties_destroyed / + PROP_luid, / properties_destroyed / 0, / todo_flags_start / TODO_dump_func | TODO_verify_flow | TODO_ggc_collect, / todo_flags_finish */ Index: global.c
--- global.c (revision 122099) +++ global.c (working copy) @@ -2141,7 +2141,7 @@ struct tree_opt_pass pass_global_alloc = TV_GLOBAL_ALLOC, /* tv_id / 0, / properties_required / 0, / properties_provided / - 0, / properties_destroyed / + PROP_luid, / properties_destroyed / 0, / todo_flags_start / TODO_dump_func | TODO_ggc_collect, / todo_flags_finish */ Index: ifcvt.c
--- ifcvt.c (revision 122099) +++ ifcvt.c (working copy) @@ -4046,7 +4046,7 @@ struct tree_opt_pass pass_rtl_ifcvt = TV_IFCVT, /* tv_id / 0, / properties_required / 0, / properties_provided / - 0, / properties_destroyed / + PROP_luid, / properties_destroyed / 0, / todo_flags_start / TODO_df_finish | TODO_dump_func, / todo_flags_finish / @@ -4082,7 +4082,7 @@ struct tree_opt_pass pass_if_after_combi TV_IFCVT, / tv_id / 0, / properties_required / 0, / properties_provided / - 0, / properties_destroyed / + PROP_luid, / properties_destroyed / 0, / todo_flags_start / TODO_df_finish | TODO_dump_func | @@ -4117,7 +4117,7 @@ struct tree_opt_pass pass_if_after_reloa TV_IFCVT2, / tv_id / 0, / properties_required / 0, / properties_provided / - 0, / properties_destroyed / + PROP_luid, / properties_destroyed / 0, / todo_flags_start */ TODO_df_finish | TODO_dump_func | Index: init-regs.c
--- init-regs.c (revision 122099) +++ init-regs.c (working copy) @@ -149,7 +149,7 @@ struct tree_opt_pass pass_initialize_reg 0, /* tv_id / 0, / properties_required / 0, / properties_provided / - 0, / properties_destroyed / + PROP_luid, / properties_destroyed / 0, / todo_flags_start / TODO_dump_func | TODO_df_finish, / todo_flags_finish */ Index: local-alloc.c
--- local-alloc.c (revision 122099) +++ local-alloc.c (working copy) @@ -2560,7 +2560,7 @@ struct tree_opt_pass pass_local_alloc = TV_LOCAL_ALLOC, /* tv_id / 0, / properties_required / 0, / properties_provided / - 0, / properties_destroyed / + PROP_luid, / properties_destroyed / 0, / todo_flags_start / TODO_dump_func | TODO_ggc_collect, / todo_flags_finish */ Index: loop-init.c
--- loop-init.c (revision 122099) +++ loop-init.c (working copy) @@ -269,7 +269,7 @@ struct tree_opt_pass pass_rtl_move_loop_ TV_LOOP, /* tv_id / 0, / properties_required / 0, / properties_provided / - 0, / properties_destroyed / + PROP_luid, / properties_destroyed / 0, / todo_flags_start / TODO_df_finish | / This is shutting down the instance in loop_invariant.c / TODO_dump_func, / todo_flags_finish / @@ -303,7 +303,7 @@ struct tree_opt_pass pass_rtl_unswitch = TV_LOOP, / tv_id / 0, / properties_required / 0, / properties_provided / - 0, / properties_destroyed / + PROP_luid, / properties_destroyed / 0, / todo_flags_start / TODO_dump_func, / todo_flags_finish / 'L' / letter / @@ -349,7 +349,7 @@ struct tree_opt_pass pass_rtl_unroll_and TV_LOOP, / tv_id / 0, / properties_required / 0, / properties_provided / - 0, / properties_destroyed / + PROP_luid, / properties_destroyed / 0, / todo_flags_start / TODO_dump_func, / todo_flags_finish / 'L' / letter / @@ -388,7 +388,7 @@ struct tree_opt_pass pass_rtl_doloop = TV_LOOP, / tv_id / 0, / properties_required / 0, / properties_provided / - 0, / properties_destroyed / + PROP_luid, / properties_destroyed / 0, / todo_flags_start / TODO_dump_func, / todo_flags_finish / 'L' / letter */ Index: lower-subreg.c
--- lower-subreg.c (revision 122099) +++ lower-subreg.c (working copy) @@ -1184,7 +1184,7 @@ struct tree_opt_pass pass_lower_subreg2 TV_LOWER_SUBREG, /* tv_id / 0, / properties_required / 0, / properties_provided / - 0, / properties_destroyed / + PROP_luid, / properties_destroyed / 0, / todo_flags_start */ TODO_df_finish | TODO_dump_func | Index: mode-switching.c
--- mode-switching.c (revision 122099) +++ mode-switching.c (working copy) @@ -745,7 +745,7 @@ struct tree_opt_pass pass_mode_switching TV_MODE_SWITCH, /* tv_id / 0, / properties_required / 0, / properties_provided / - 0, / properties_destroyed / + PROP_luid, / properties_destroyed / 0, / todo_flags_start / TODO_df_finish | TODO_dump_func, / todo_flags_finish */ Index: modulo-sched.c
--- modulo-sched.c (revision 122099) +++ modulo-sched.c (working copy) @@ -2494,7 +2494,7 @@ struct tree_opt_pass pass_sms = TV_SMS, /* tv_id / 0, / properties_required / 0, / properties_provided / - 0, / properties_destroyed / + PROP_luid, / properties_destroyed / TODO_dump_func, / todo_flags_start */ TODO_df_finish | TODO_dump_func | Index: recog.c
--- recog.c (revision 122099) +++ recog.c (working copy) @@ -3307,7 +3307,7 @@ struct tree_opt_pass pass_peephole2 = TV_PEEPHOLE2, /* tv_id / 0, / properties_required / 0, / properties_provided / - 0, / properties_destroyed / + PROP_luid, / properties_destroyed / 0, / todo_flags_start / TODO_df_finish | TODO_dump_func, / todo_flags_finish */ Index: reg-stack.c
--- reg-stack.c (revision 122099) +++ reg-stack.c (working copy) @@ -3223,7 +3223,7 @@ struct tree_opt_pass pass_stack_regs = TV_REG_STACK, /* tv_id / 0, / properties_required / 0, / properties_provided / - 0, / properties_destroyed / + PROP_luid, / properties_destroyed / 0, / todo_flags_start */ TODO_df_finish | TODO_dump_func | Index: regmove.c
--- regmove.c (revision 122099) +++ regmove.c (working copy) @@ -2616,7 +2616,7 @@ struct tree_opt_pass pass_stack_adjustme 0, /* tv_id / 0, / properties_required / 0, / properties_provided / - 0, / properties_destroyed / + PROP_luid, / properties_destroyed / 0, / todo_flags_start */ TODO_df_finish | TODO_dump_func | Index: reorg.c
--- reorg.c (revision 122099) +++ reorg.c (working copy) @@ -3799,7 +3799,7 @@ struct tree_opt_pass pass_delay_slots = TV_DBR_SCHED, /* tv_id / 0, / properties_required / 0, / properties_provided / - 0, / properties_destroyed / + PROP_luid, / properties_destroyed / 0, / todo_flags_start / TODO_dump_func | TODO_ggc_collect, / todo_flags_finish */ Index: rtl-factoring.c
--- rtl-factoring.c (revision 122099) +++ rtl-factoring.c (working copy) @@ -1423,7 +1423,7 @@ struct tree_opt_pass pass_rtl_seqabstr = TV_SEQABSTR, /* tv_id / 0, / properties_required / 0, / properties_provided / - 0, / properties_destroyed / + PROP_luid, / properties_destroyed / 0, / todo_flags_start */ TODO_df_finish | TODO_dump_func | Index: see.c
--- see.c (revision 122099) +++ see.c (working copy) @@ -3839,7 +3839,7 @@ struct tree_opt_pass pass_see = TV_SEE, /* tv_id / 0, / properties_required / 0, / properties_provided / - 0, / properties_destroyed / + PROP_luid, / properties_destroyed / 0, / todo_flags_start / TODO_df_finish | TODO_dump_func, / todo_flags_finish */ Index: tree-pass.h
--- tree-pass.h (revision 122099) +++ tree-pass.h (working copy) @@ -153,6 +153,7 @@ struct dump_file_info #define PROP_rtl (1 << 8) #define PROP_alias (1 << 9) #define PROP_gimple_lomp (1 << 10) /* lowered OpenMP directives */ +#define PROP_luid (1 << 11)
#define PROP_trees
(PROP_gimple_any | PROP_gimple_lcf | PROP_gimple_leh | PROP_gimple_lomp)
- Follow-Ups:
- Re: [dataflow] speed up by 2%, patch 4/4 - remove LOG_LINKS field from insns
* From: Paolo Bonzini
- Re: [dataflow] speed up by 2%, patch 4/4 - remove LOG_LINKS field from insns
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |