[Bug middle-end/71488] [6/7 Regression] Wrong code for vector comparisons with ivybridge and westmere targets
ienkovich at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jun 14 14:30:00 GMT 2016
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.
More information about the Gcc-bugs
mailing list