http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56253
--- Comment #6 from Uros Bizjak <ubizjak at gmail dot com> 2013-02-08 14:58:42 UTC --- (In reply to comment #5) > Hmm, I wonder how the vectorizer then accesses add/sub patterns without > SSE math. It just queries optabs ... > > We cannot handle the FMA case with standard operations anyway. But > if SSE modes are used, why should convert_mult_to_fma have to back off > (it also just looks at standard optabs)? > > That said - should the above TARGET_SSE_MATH restriction not only > apply to scalar modes? Ugh, you are right. TARGET_SSE_MATH should apply to scalar modes only. Patch in works.