This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] enabling vectorization by default at -O3
- From: Victor Kaplansky <VICTORK at il dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: mark at codesourcery dot com, Dorit Nuzman <DORIT at il dot ibm dot com>, Ira Rosen <IRAR at il dot ibm dot com>
- Date: Tue, 9 Oct 2007 16:52:45 +0200
- Subject: Re: [patch] enabling vectorization by default at -O3
> SpecCPU2006 on powerpc970 shows 1.5% on specINT (mostly due to a 14%
> improvement on hmmer), and a -0.4% on specFP. This was comparing '-O3'
with
> '-O3 -ftree-vectorize -maltivec'. The costmodel wasn't on, cause it is
> still undergoing some changes, and also it is not tuned yet for
powerpc970,
> so I hope that with the costmodel on we'll be able to get rid of the
small
> degradations we have here and there later on.
There are no degradations in SPEC2006 runs on x86_64 (Intel, Xeon) both
for specINT and specFP. I have compared '-O3 -msse2' with
'-O3 -ftree-vectorize -msse2'.
-- Victor