This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Compilation flags in libgfortran


> On Oct 15, 2013, at 6:58 AM, Igor Zamyatin <izamyatin@gmail.com> wrote:

> 
> Hi All!
> 
> Is there any particular reason that matmul* modules from libgfortran
> are compiled with -O2 -ftree-vectorize?
> 
> I see some regressions on Atom processor after r202980
> (http://gcc.gnu.org/ml/gcc-cvs/2013-09/msg00846.html)
> 
> Why not just use O3 for those modules?

-O3 and -O2 -ftree-vectorize won't give much performance difference.  What you are seeing is the cost model needs improvement; at least for atom.


> 
> 
> Thanks,
> Igor


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]