[Bug tree-optimization/18767] No vectorization for simple loop
ubizjak at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sun May 22 21:50:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18767
Uros Bizjak <ubizjak at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #4 from Uros Bizjak <ubizjak at gmail dot com> 2011-05-22 21:25:27 UTC ---
(In reply to comment #3)
> Still not vectorized in recent GCC:
>
> t.c:7: note: not vectorized: unsupported use in stmt.
pr18767.c:10: note: reduction: unsafe fp math optimization: s_8 = D.2696_7 +
s_16;
-ffast-math solves this.
foobar:
.LFB0:
.cfi_startproc
vmovaps b(%rip), %xmm0
vmulps a(%rip), %xmm0, %xmm0
vhaddps %xmm0, %xmm0, %xmm0
vhaddps %xmm0, %xmm0, %xmm0
ret
More information about the Gcc-bugs
mailing list