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: Eric Botcazou <ebotcazou at adacore dot com>
- To: Jan Hubicka <hubicka at ucw dot cz>
- 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, 07 Jan 2019 11:13:04 +0100
- Subject: Re: Enabling vectorization at -O2 for x86 generic, core and zen tuning
- References: <20190106154141.tkjhcvaf7phdaav5@kam.mff.cuni.cz>
> 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.
--
Eric Botcazou