[Bug tree-optimization/57328] Missed optimization: Unable to vectorize Fortran min and max intrinsics

glisse at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue May 21 21:25:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57328

Marc Glisse <glisse at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|fortran                     |tree-optimization

--- Comment #9 from Marc Glisse <glisse at gcc dot gnu.org> ---
The difficulty seems to be with vectorizing an AND or OR of 2 conditions.
a<b || b unord b leaves control flow around
a<b | b unord b complains that bit-precision arithmetic is not supported

The second one in particular looks like a limitation in the vectorizer that
would be nice to lift. I get the same issue with a loop using a[i]<0&b[i]<=0,
it isn't related to unord in particular.



More information about the Gcc-bugs mailing list