https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79014
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Status|UNCONFIRMED |NEW Last reconfirmed| |2017-01-09 Blocks| |53947 Ever confirmed|0 |1 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- The issue is that GCC does not recognize s3[R[z] & mask] as valid gather instruction (it does not understand the bitwise and doing scalar evolution analysis for a start which it does to do dependence analysis). Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 [Bug 53947] [meta-bug] vectorizer missed-optimizations