This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/46008] Floating point condexpr not vectorized
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 13 Oct 2010 16:19:48 +0000
- Subject: [Bug tree-optimization/46008] Floating point condexpr not vectorized
- Auto-submitted: auto-generated
- References: <bug-46008-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46008
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-10-13 16:19:27 UTC ---
Created attachment 22031
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22031
gcc46-pr46008.patch
The ifcvt fix (untested). Still the vectorizer gives up, because the floating
point comparison is first computed into a _Bool/bool variable which is then
(with a single immediate use) immediately used in the following COND_EXPR.