[Bug tree-optimization/35252] No vectorization for complex arrays

2008-08-05 Thread victork at gcc dot gnu dot org
--- Comment #6 from victork at gcc dot gnu dot org 2008-08-05 08:16 --- Hm, following testcase doesn't vectorize due to vect cost model (-O2 -msse3 -ftree-vectorize -ffast-math) on i686 target: The problem is that we count some costs twice - as being vectorized by SLP and non-SLP.

[Bug tree-optimization/35252] No vectorization for complex arrays

2008-08-04 Thread ubizjak at gmail dot com
--- Comment #5 from ubizjak at gmail dot com 2008-08-04 11:43 --- Hm, following testcase doesn't vectorize due to vect cost model (-O2 -msse3 -ftree-vectorize -ffast-math) on i686 target: --cut here-- void testf(void) { int i; for (i = 0; i 16; i++) cf[i] = af[i] + bf[i]; }

[Bug tree-optimization/35252] No vectorization for complex arrays

2008-08-02 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2008-08-02 12:06 --- Subject: Bug 35252 Author: rguenth Date: Sat Aug 2 12:05:47 2008 New Revision: 138553 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=138553 Log: 2008-08-02 Richard Guenther [EMAIL PROTECTED] PR

[Bug tree-optimization/35252] No vectorization for complex arrays

2008-07-29 Thread victork at gcc dot gnu dot org
--- Comment #3 from victork at gcc dot gnu dot org 2008-07-29 21:54 --- Revision 138198 fixes vectorization of addition of complex numbers, while vectorization complex multiplication works on PowerPC and on x86 is a known issue - see pr30211. I'm closing this bugzilla as duplicate of

[Bug tree-optimization/35252] No vectorization for complex arrays

2008-07-27 Thread victork at gcc dot gnu dot org
--- Comment #2 from victork at gcc dot gnu dot org 2008-07-27 21:45 --- Subject: Bug 35252 Author: victork Date: Sun Jul 27 21:44:25 2008 New Revision: 138198 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=138198 Log: 2008-07-27 Victor Kaplansky [EMAIL PROTECTED] PR

[Bug tree-optimization/35252] No vectorization for complex arrays

2008-03-12 Thread victork at gcc dot gnu dot org
--- Comment #1 from victork at gcc dot gnu dot org 2008-03-12 06:05 --- We don't recognize REALPART_EXPR and IMAGPART_EXPR in vectorizer. These should be recognized as load operations: CR.39_21 = REALPART_EXPR ad[i_17]; CI.40_22 = IMAGPART_EXPR ad[i_17]; CR.41_23 = REALPART_EXPR