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
On Thu, Mar 24, 2011 at 2:50 PM, Simon Chopin wrote: > On Thu, Mar 24, 2011 at 12:55:44PM +0100, Richard Guenther wrote: >> There are no vector of complex types and GCC internally does not handle >> this case as well.  Instead GCC lowers complex operations to > Yep, sorry, my mistake. I meant arra

Re: Complex vectorization

2011-03-24 Thread Simon Chopin
On Thu, Mar 24, 2011 at 12:55:44PM +0100, Richard Guenther wrote: > There are no vector of complex types and GCC internally does not handle > this case as well. Instead GCC lowers complex operations to Yep, sorry, my mistake. I meant array of complex. > piecewise scalar operations, thus vectorizat

Re: Complex vectorization

2011-03-24 Thread Richard Guenther
On Thu, Mar 24, 2011 at 12:41 PM, Simon Chopin wrote: > 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