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

tjw at omnigroup dot com gcc-bugzilla@gcc.gnu.org
Sun Jun 20 03:47:00 GMT 2004


------- 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



More information about the Gcc-bugs mailing list