This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/16048] Simple loop doesn't get vectorized
- From: "tjw at omnigroup dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Jun 2004 03:47:44 -0000
- Subject: [Bug tree-optimization/16048] Simple loop doesn't get vectorized
- References: <20040618062359.16048.tjw@omnigroup.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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