public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/hubicka/heads/honza-gcc-benchmark-branch-v2)] Back to trunk.
@ 2020-12-07 13:50 Jan Hubicka
  0 siblings, 0 replies; 4+ messages in thread
From: Jan Hubicka @ 2020-12-07 13:50 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:b2fda88f07fd0573539493b73aa4c3b4f782fef8

commit b2fda88f07fd0573539493b73aa4c3b4f782fef8
Author: Jan Hubicka <jh@suse.cz>
Date:   Mon Dec 7 14:16:58 2020 +0100

    Back to trunk.

Diff:
---
 gcc/opts.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/opts.c b/gcc/opts.c
index 0cd2320543e..cc1d0cc04f6 100644
--- a/gcc/opts.c
+++ b/gcc/opts.c
@@ -469,7 +469,7 @@ static const struct default_options default_options_table[] =
     { OPT_LEVELS_1_PLUS_NOT_DEBUG, OPT_fipa_modref, NULL, 1 },
     { OPT_LEVELS_1_PLUS_NOT_DEBUG, OPT_ftree_bit_ccp, NULL, 1 },
     { OPT_LEVELS_1_PLUS_NOT_DEBUG, OPT_ftree_dse, NULL, 1 },
-    /*{ OPT_LEVELS_1_PLUS_NOT_DEBUG, OPT_ftree_pta, NULL, 1 },*/
+    { OPT_LEVELS_1_PLUS_NOT_DEBUG, OPT_ftree_pta, NULL, 1 },
     { OPT_LEVELS_1_PLUS_NOT_DEBUG, OPT_ftree_sra, NULL, 1 },
 
     /* -O2 and -Os optimizations.  */


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gcc(refs/users/hubicka/heads/honza-gcc-benchmark-branch-v2)] Back to trunk
@ 2021-10-11 16:42 Jan Hubicka
  0 siblings, 0 replies; 4+ messages in thread
From: Jan Hubicka @ 2021-10-11 16:42 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:105f50aff8e2d008b38b70c6f957893ed0b1c4dd

commit 105f50aff8e2d008b38b70c6f957893ed0b1c4dd
Author: Jan Hubicka <jh@suse.cz>
Date:   Mon Oct 11 18:39:53 2021 +0200

    Back to trunk

Diff:
---
 gcc/passes.def              |  1 -
 gcc/tree-pass.h             |  1 -
 gcc/tree-ssa-loop-ivcanon.c | 57 ---------------------------------------------
 3 files changed, 59 deletions(-)

diff --git a/gcc/passes.def b/gcc/passes.def
index 64b4b7ec45f..d7a1f8c97a6 100644
--- a/gcc/passes.def
+++ b/gcc/passes.def
@@ -83,7 +83,6 @@ along with GCC; see the file COPYING3.  If not see
 	  NEXT_PASS (pass_forwprop);
           NEXT_PASS (pass_early_thread_jumps);
 	  NEXT_PASS (pass_sra_early);
-          NEXT_PASS (pass_early_complete_unrolli);
 	  /* pass_build_ealias is a dummy pass that ensures that we
 	     execute TODO_rebuild_alias at this point.  */
 	  NEXT_PASS (pass_build_ealias);
diff --git a/gcc/tree-pass.h b/gcc/tree-pass.h
index a3959322b29..eb75eb17951 100644
--- a/gcc/tree-pass.h
+++ b/gcc/tree-pass.h
@@ -389,7 +389,6 @@ extern gimple_opt_pass *make_pass_simduid_cleanup (gcc::context *ctxt);
 extern gimple_opt_pass *make_pass_slp_vectorize (gcc::context *ctxt);
 extern gimple_opt_pass *make_pass_complete_unroll (gcc::context *ctxt);
 extern gimple_opt_pass *make_pass_complete_unrolli (gcc::context *ctxt);
-extern gimple_opt_pass *make_pass_early_complete_unrolli (gcc::context *ctxt);
 extern gimple_opt_pass *make_pass_pre_slp_scalar_cleanup (gcc::context *ctxt);
 extern gimple_opt_pass *make_pass_parallelize_loops (gcc::context *ctxt);
 extern gimple_opt_pass *make_pass_loop_prefetch (gcc::context *ctxt);
diff --git a/gcc/tree-ssa-loop-ivcanon.c b/gcc/tree-ssa-loop-ivcanon.c
index 84c79e84ad8..8d8791f837e 100644
--- a/gcc/tree-ssa-loop-ivcanon.c
+++ b/gcc/tree-ssa-loop-ivcanon.c
@@ -1673,60 +1673,3 @@ make_pass_complete_unrolli (gcc::context *ctxt)
 }
 
 
-
-/* Complete unrolling of inner loops.  */
-
-namespace {
-
-const pass_data pass_data_early_complete_unrolli =
-{
-  GIMPLE_PASS, /* type */
-  "early-cunrolli", /* name */
-  OPTGROUP_LOOP, /* optinfo_flags */
-  TV_COMPLETE_UNROLL, /* tv_id */
-  ( PROP_cfg | PROP_ssa ), /* properties_required */
-  0, /* properties_provided */
-  0, /* properties_destroyed */
-  0, /* todo_flags_start */
-  0, /* todo_flags_finish */
-};
-
-class pass_early_complete_unrolli : public gimple_opt_pass
-{
-public:
-  pass_early_complete_unrolli (gcc::context *ctxt)
-    : gimple_opt_pass (pass_data_early_complete_unrolli, ctxt)
-  {}
-
-  /* opt_pass methods: */
-  virtual bool gate (function *) { return optimize >= 2; }
-  virtual unsigned int execute (function *);
-
-}; // class pass_early_complete_unrolli
-
-unsigned int
-pass_early_complete_unrolli::execute (function *fun)
-{
-  unsigned ret = 0;
-
-  loop_optimizer_init (LOOPS_NORMAL | LOOPS_HAVE_RECORDED_EXITS);
-  if (number_of_loops (fun) > 1)
-    {
-      scev_initialize ();
-      ret = tree_unroll_loops_completely (false, false);
-      scev_finalize ();
-    }
-  loop_optimizer_finalize ();
-
-  return ret;
-}
-
-} // anon namespace
-
-gimple_opt_pass *
-make_pass_early_complete_unrolli (gcc::context *ctxt)
-{
-  return new pass_early_complete_unrolli (ctxt);
-}
-
-


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gcc(refs/users/hubicka/heads/honza-gcc-benchmark-branch-v2)] back to trunk
@ 2021-08-26 15:03 Jan Hubicka
  0 siblings, 0 replies; 4+ messages in thread
From: Jan Hubicka @ 2021-08-26 15:03 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:b4f6efb4509318127c0a17377517b59078075c77

commit b4f6efb4509318127c0a17377517b59078075c77
Author: Jan Hubicka <jh@suse.cz>
Date:   Thu Aug 26 17:01:46 2021 +0200

    back to trunk

Diff:
---
 gcc/opts.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gcc/opts.c b/gcc/opts.c
index 47d1301ba22..1f52e1139c7 100644
--- a/gcc/opts.c
+++ b/gcc/opts.c
@@ -626,8 +626,7 @@ static const struct default_options default_options_table[] =
     { OPT_LEVELS_2_PLUS, OPT_ftree_switch_conversion, NULL, 1 },
     { OPT_LEVELS_2_PLUS, OPT_ftree_tail_merge, NULL, 1 },
     { OPT_LEVELS_2_PLUS, OPT_ftree_vrp, NULL, 1 },
-    { OPT_LEVELS_2_PLUS, OPT_fvect_cost_model_, NULL, VECT_COST_MODEL_VERY_CHEAP },
-    { OPT_LEVELS_2_PLUS, OPT_ftree_slp_vectorize, NULL, 1 },
+    { OPT_LEVELS_2_PLUS, OPT_fvect_cost_model_, NULL, VECT_COST_MODEL_CHEAP },
     { OPT_LEVELS_2_PLUS, OPT_finline_functions, NULL, 1 },
     { OPT_LEVELS_2_PLUS, OPT_ftree_loop_distribute_patterns, NULL, 1 },
 
@@ -656,8 +655,9 @@ static const struct default_options default_options_table[] =
     { OPT_LEVELS_3_PLUS, OPT_fsplit_loops, NULL, 1 },
     { OPT_LEVELS_3_PLUS, OPT_fsplit_paths, NULL, 1 },
     { OPT_LEVELS_3_PLUS, OPT_ftree_loop_distribution, NULL, 1 },
-    { OPT_LEVELS_3_PLUS, OPT_ftree_partial_pre, NULL, 1 },
     { OPT_LEVELS_3_PLUS, OPT_ftree_loop_vectorize, NULL, 1 },
+    { OPT_LEVELS_3_PLUS, OPT_ftree_partial_pre, NULL, 1 },
+    { OPT_LEVELS_3_PLUS, OPT_ftree_slp_vectorize, NULL, 1 },
     { OPT_LEVELS_3_PLUS, OPT_funswitch_loops, NULL, 1 },
     { OPT_LEVELS_3_PLUS, OPT_fvect_cost_model_, NULL, VECT_COST_MODEL_DYNAMIC },
     { OPT_LEVELS_3_PLUS, OPT_fversion_loops_for_strides, NULL, 1 },


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gcc(refs/users/hubicka/heads/honza-gcc-benchmark-branch-v2)] Back to trunk
@ 2021-05-12 13:10 Jan Hubicka
  0 siblings, 0 replies; 4+ messages in thread
From: Jan Hubicka @ 2021-05-12 13:10 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:0696ac5c6afec11ab90e7486d16ef27418611e4e

commit 0696ac5c6afec11ab90e7486d16ef27418611e4e
Author: Jan Hubicka <jh@suse.cz>
Date:   Wed May 12 15:10:13 2021 +0200

    Back to trunk

Diff:
---
 gcc/ChangeLog.honza | 1 -
 gcc/opts.c          | 8 ++++----
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/gcc/ChangeLog.honza b/gcc/ChangeLog.honza
index ad3f6fe0bd9..e69de29bb2d 100644
--- a/gcc/ChangeLog.honza
+++ b/gcc/ChangeLog.honza
@@ -1 +0,0 @@
-    cheap vectorization everywhere.
diff --git a/gcc/opts.c b/gcc/opts.c
index 5afa4e965a6..24bb64198c8 100644
--- a/gcc/opts.c
+++ b/gcc/opts.c
@@ -508,11 +508,9 @@ static const struct default_options default_options_table[] =
     { OPT_LEVELS_2_PLUS, OPT_ftree_switch_conversion, NULL, 1 },
     { OPT_LEVELS_2_PLUS, OPT_ftree_tail_merge, NULL, 1 },
     { OPT_LEVELS_2_PLUS, OPT_ftree_vrp, NULL, 1 },
-    { OPT_LEVELS_2_PLUS, OPT_fvect_cost_model_, NULL, VECT_COST_MODEL_VERY_CHEAP },
+    { OPT_LEVELS_2_PLUS, OPT_fvect_cost_model_, NULL, VECT_COST_MODEL_CHEAP },
     { OPT_LEVELS_2_PLUS, OPT_finline_functions, NULL, 1 },
     { OPT_LEVELS_2_PLUS, OPT_ftree_loop_distribute_patterns, NULL, 1 },
-    { OPT_LEVELS_2_PLUS, OPT_ftree_loop_vectorize, NULL, 1 },
-    { OPT_LEVELS_2_PLUS, OPT_ftree_slp_vectorize, NULL, 1 },
 
     /* -O2 and above optimizations, but not -Os or -Og.  */
     { OPT_LEVELS_2_PLUS_SPEED_ONLY, OPT_falign_functions, NULL, 1 },
@@ -539,9 +537,11 @@ static const struct default_options default_options_table[] =
     { OPT_LEVELS_3_PLUS, OPT_fsplit_loops, NULL, 1 },
     { OPT_LEVELS_3_PLUS, OPT_fsplit_paths, NULL, 1 },
     { OPT_LEVELS_3_PLUS, OPT_ftree_loop_distribution, NULL, 1 },
+    { OPT_LEVELS_3_PLUS, OPT_ftree_loop_vectorize, NULL, 1 },
     { OPT_LEVELS_3_PLUS, OPT_ftree_partial_pre, NULL, 1 },
+    { OPT_LEVELS_3_PLUS, OPT_ftree_slp_vectorize, NULL, 1 },
     { OPT_LEVELS_3_PLUS, OPT_funswitch_loops, NULL, 1 },
-    { OPT_LEVELS_3_PLUS, OPT_fvect_cost_model_, NULL, VECT_COST_MODEL_VERY_CHEAP },
+    { OPT_LEVELS_3_PLUS, OPT_fvect_cost_model_, NULL, VECT_COST_MODEL_DYNAMIC },
     { OPT_LEVELS_3_PLUS, OPT_fversion_loops_for_strides, NULL, 1 },
 
     /* -O3 parameters.  */


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-10-11 16:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-07 13:50 [gcc(refs/users/hubicka/heads/honza-gcc-benchmark-branch-v2)] Back to trunk Jan Hubicka
2021-05-12 13:10 Jan Hubicka
2021-08-26 15:03 [gcc(refs/users/hubicka/heads/honza-gcc-benchmark-branch-v2)] back " Jan Hubicka
2021-10-11 16:42 [gcc(refs/users/hubicka/heads/honza-gcc-benchmark-branch-v2)] Back " Jan Hubicka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).