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 middle-end/71488] [6/7 Regression] Wrong code for vector comparisons with ivybridge and westmere targets


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71488

--- Comment #6 from Ilya Enkovich <ienkovich at gcc dot gnu.org> ---
I think we should disable vectorization of boolean comparison (except '==' and
'!=') and handle them applying patterns.  E.g. a > b ==> a & !b, a >= b ==> a |
!b etc.  Bitwise operations are better because work for both vector and scalar
masks.

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