public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/hubicka/heads/honza-gcc-benchmark-branch-v2)] Very cheap vectorization once again.
@ 2021-05-16 18:16 Jan Hubicka
  0 siblings, 0 replies; only message in thread
From: Jan Hubicka @ 2021-05-16 18:16 UTC (permalink / raw)
  To: gcc-cvs

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

commit ea21f32198432a490dd490696322838d94b3d3b2
Author: Jan Hubicka <jh@suse.cz>
Date:   Sun May 16 20:15:53 2021 +0200

    Very cheap vectorization once again.

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

diff --git a/gcc/ChangeLog.honza b/gcc/ChangeLog.honza
index 798ee64a93c..ef80ceb87cf 100644
--- a/gcc/ChangeLog.honza
+++ b/gcc/ChangeLog.honza
@@ -1,2 +1,2 @@
  - mainline
- - mainline + cheap vectorization O2 and O3
+ - mainline + very cheap vectorization O2 and O3
diff --git a/gcc/opts.c b/gcc/opts.c
index d7b69d7bd91..5afa4e965a6 100644
--- a/gcc/opts.c
+++ b/gcc/opts.c
@@ -508,7 +508,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_CHEAP },
+    { OPT_LEVELS_2_PLUS, OPT_fvect_cost_model_, NULL, VECT_COST_MODEL_VERY_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 },
@@ -541,6 +541,7 @@ static const struct default_options default_options_table[] =
     { 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_funswitch_loops, NULL, 1 },
+    { OPT_LEVELS_3_PLUS, OPT_fvect_cost_model_, NULL, VECT_COST_MODEL_VERY_CHEAP },
     { OPT_LEVELS_3_PLUS, OPT_fversion_loops_for_strides, NULL, 1 },
 
     /* -O3 parameters.  */


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-16 18:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-16 18:16 [gcc(refs/users/hubicka/heads/honza-gcc-benchmark-branch-v2)] Very cheap vectorization once again 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).