[Bug tree-optimization/81196] Number of iterations found for p!=q but not for p<q
glisse at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jun 27 08:12:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81196
--- Comment #7 from Marc Glisse <glisse at gcc dot gnu.org> ---
(In reply to amker from comment #6)
> But below is necessary, right?
>
> /* { dg-require-effective-target vect_perm_short } */
Yes. Cool, I didn't remember we had exactly the right test :-)
Or you could try and change what it done inside the loop (or the element type)
so it doesn't require a permutation of shorts, but that doesn't seem worth the
trouble, vect_perm_short targets are not that rare.
More information about the Gcc-bugs
mailing list