This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Enabling vectorization at -O2 for x86 generic, core and zen tuning
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: Eric Botcazou <ebotcazou at adacore dot com>
- Cc: gcc at gcc dot gnu dot org, rguenther at suse dot de, jakub at redhat dot com, mliska at suse dot cz, ubizjak at gmail dot com
- Date: Mon, 7 Jan 2019 11:56:26 +0100
- Subject: Re: Enabling vectorization at -O2 for x86 generic, core and zen tuning
- References: <20190106154141.tkjhcvaf7phdaav5@kam.mff.cuni.cz> <3395221.vOMuujdrol@polaris>
> > Note that I benchmarked -ftree-slp-vectorize separately before and
> > results was hit/miss, so perhaps enabling only -ftree-vectorize would
> > give better compile time tradeoffs. I was worried of partial memory
> > stalls, but I will benchmark it and also benchmark difference between
> > cost models.
>
> ; Alias to enable both -ftree-loop-vectorize and -ftree-slp-vectorize.
> ftree-vectorize
> Common Report Optimization
> Enable vectorization on trees.
Thanks! I would probably fall into that trap and run same set of
benchmarks again.
Honza
>
> --
> Eric Botcazou