[Bug tree-optimization/40770] Vectorization of complex types, vectorization of sincos missing
rguenther at suse dot de
gcc-bugzilla@gcc.gnu.org
Thu Jul 16 13:05:00 GMT 2009
------- Comment #3 from rguenther at suse dot de 2009-07-16 13:05 -------
Subject: Re: Vectorization of complex types,
vectorization of sincos missing
On Thu, 16 Jul 2009, irar at il dot ibm dot com wrote:
> ------- Comment #2 from irar at il dot ibm dot com 2009-07-16 12:29 -------
> pr40770.c:20: note: ==> examining statement: sincostmp.21_1 = __builtin_cexpi
> (D.1625_3);
> pr40770.c:20: note: get vectype for scalar type: complex double
> pr40770.c:20: note: not vectorized: unsupported data-type complex double
>
> make_vector_type returns NULL for this type.
Yes - there is no vector type for complex double. But the vectorizer
could query for a vector type for the complex component type (double)
and divide the vector element count by 2 (for complex) to get the
vectorization factor which would be 1 here. Should SLP the be possible
for that loop?
Richard.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40770
More information about the Gcc-bugs
mailing list