Re: Complex vectorization

2011-03-24 Thread Richard Henderson
On 03/24/2011 07:47 AM, Richard Guenther wrote: > Multiplication is inlined for -fcx-fortran-rules for example. Yes, division > is always out-of-line. Division is inlined with -fcx-limited-range. r~

Re: Complex vectorization

2011-03-24 Thread Richard Guenther
y mistake. I meant array of complex. >> piecewise scalar operations, thus vectorization would have vectors >> of the complex components.  There are a number of bugs in bugzilla >> for complex vectorization, like PR37021 or PR40770. > > And yet, when trying to multiply numbers,

Re: Complex vectorization

2011-03-24 Thread Simon Chopin
ons, thus vectorization would have vectors > of the complex components. There are a number of bugs in bugzilla > for complex vectorization, like PR37021 or PR40770. And yet, when trying to multiply numbers, gcc says that complex isn't a supported type. From the links you provided, part of the

Re: Complex vectorization

2011-03-24 Thread Richard Guenther
is case as well. Instead GCC lowers complex operations to piecewise scalar operations, thus vectorization would have vectors of the complex components. There are a number of bugs in bugzilla for complex vectorization, like PR37021 or PR40770. Richard.

Complex vectorization

2011-03-24 Thread Simon Chopin
Hi, I'm currently working on trying to implement a way to use the SIMD instructions of the SSEx family when computing a vector of complex numbers. I have to say that I have never worked on compilation techniques before, and that I only have little understanding of the vectorization problems. I'v