This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/85406] Unnecessary blend when vectorizing short-cutted calculations
- From: "linux at carewolf dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 20 Apr 2018 08:28:41 +0000
- Subject: [Bug tree-optimization/85406] Unnecessary blend when vectorizing short-cutted calculations
- Auto-submitted: auto-generated
- References: <bug-85406-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85406
--- Comment #4 from Allan Jensen <linux at carewolf dot com> ---
Created attachment 43995
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43995&action=edit
gccbug85406.cpp
This version compiles with a pcmpeqd and pandn instead of a blend, but the
principle is the same.
Though the last of a ptest in the beginning is worse, as that risks a
performance regression compared to non-vectorized.