This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/85406] Unnecessary blend when vectorizing short-cutted calculations


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]