This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/37021] Fortran Complex reduction / multiplication not vectorized
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Jan 2009 15:36:08 -0000
- Subject: [Bug tree-optimization/37021] Fortran Complex reduction / multiplication not vectorized
- References: <bug-37021-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from rguenth at gcc dot gnu dot org 2009-01-23 15:36 -------
So,
4) The vectorized version sucks because we have to use peeling for niters
because we need to unroll the loop once and cannot apply SLP here.
Q1: does SLP work with reductions at all?
Q2: does SLP do pattern recognition?
First of all we would need to recognize a complex reduction as a single
vectorized reduction. Second we need to vectorize the complex multiplication
with SLP, feeding the reduction with one resulting complex vector.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37021