From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28416 invoked by alias); 16 Jul 2009 13:05:39 -0000 Received: (qmail 28366 invoked by alias); 16 Jul 2009 13:05:25 -0000 Date: Thu, 16 Jul 2009 13:05:00 -0000 Message-ID: <20090716130525.28365.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/40770] Vectorization of complex types, vectorization of sincos missing In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rguenther at suse dot de" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-07/txt/msg01352.txt.bz2 ------- 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