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: "Uros Bizjak" <ubizjak at gmail dot com>
- To: "GCC Patches" <gcc-patches at gcc dot gnu dot org>
- Cc: "Tobias Burnus" <burnus at net-b dot de>, "Dorit Nuzman" <DORIT at il dot ibm dot com>
- Date: Thu, 6 Sep 2007 13:49:52 +0200
- Subject: Re: [patch] enabling vectorization by default at -O3
Hello!
> NV V NV.F V.F V.CM V.CM.F
> --------------------------------------------------------
> ac 15.19 15.09+ 12.72 12.74- 15.02+ 12.71+
> aermod 36.50 36.72- 35.62 35.97- 36.25+ 35.34+
> air 12.78 12.56+ 9.65 9.48+ 12.34+ 9.49=
> capacita 50.43 49.48+ 48.88 50.59- 48.43+ 49.59+
> channel 3.20 2.79++ 3.13 2.80++ 2.72+ 2.71+
> doduc 56.23 55.87+ 48.84 49.34- 55.48+ 48.85+
> fatigue 13.94 14.10- 12.37 12.77- 13.62+ 12.69+
> gas_dyn 24.98 10.45++ 19.64 7.96++ 10.40+ 7.93+
> induct 64.52 63.77+ 66.47* 88.56-- 63.50+ 63.92++
> linpk 22.39 22.79- 22.10 22.31- 22.12+ 22.10+
> mdbx 16.36 16.22+ 18.86* 19.10- 16.16+ 18.95+
> nf 27.71 27.67+ 27.55 27.27+ 27.12+ 26.84+
> protein 61.86 61.99- 60.57 59.96+ 62.40- 59.76+
> rnflow 35.88 35.92- 35.49 35.58+ 35.82+ 35.46+
> test_fpu 15.37 14.10+ 15.80 13.40+ 14.18- 13.23+
> tfft 2.89 2.86 2.98 3.00- 2.82+ 2.90+
> --------------------------------------------------------
> Geo.Mean 21.02 19.57+ 19.92 18.93 19.34+ 18.34+
>
> * Hmm, why is --ffast-math slower? And with vectorization that much
> slower? I recheck induct (V.F, NV.F) and I could reproduce the timings.
>
> that is indeed interesting (I'd be happy to look at a testcase)
This is PR 32084, http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32084
Uros.