This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/30032] sqrt(CGAMMA*PRES[j]/DENS[j]) much slower than competing compiler
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Dec 2006 10:40:22 -0000
- Subject: [Bug tree-optimization/30032] sqrt(CGAMMA*PRES[j]/DENS[j]) much slower than competing compiler
- References: <bug-30032-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #10 from burnus at gcc dot gnu dot org 2006-12-02 10:40 -------
(In reply to comment #9)
> http://gcc.gnu.org/ml/gcc-patches/2006-11/msg01819.html?
Patch works (except for gcc.dg/vect/no-math-errno-vect-pow-1).
It indeed helps a lot:
- Fortran test case: before 0m7.281s, now 0m3.546s (ifort 0m2.633s)
Improvement: 2.05 times faster :-)
- Polyhedron test: before 0m13.999s, now 0m10.74s (ifort 0m7.638s)
Improvement: 23% faster
> > The VLA -> normal array for C should be a different issue, where gcc could
> > improve.
> Could you open a new bug for this problem?
Done: PR 30049.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30032