This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/16048] Simple loop doesn't get vectorized


------- Additional Comments From tjw at omnigroup dot com  2004-06-20 03:47 -------
I don't see the message you note below.  Instead, I see the following:

examining statement:
r2_79 = __builtin_powf (zr_85, 2.0e+0);

get vectype for scalar type:  float
use not simple.
stmt not supported.
r2_79 = __builtin_powf (zr_85, 2.0e+0);
loop_analyzer: bad operations.


My guess is that the 'zr = r2 - i2 + cr' statement's use of r2 and i2 (which are zr*zr and zi*zi, 
respectively) is getting 'optimized' into a pow(..., 2) which the vectorization then can't handle.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16048


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]