------- Comment #2 from matz at gcc dot gnu dot org 2010-09-07 13:27 ------- The patch at http://gcc.gnu.org/ml/gcc-patches/2010-09/msg00548.html implements support for consecutive loads with negative step. It will vectorize the first testcase. But not the second one because it only handled loads, not stores.
-- matz at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Missed vectorization: |Missed vectorization: |"complicated access pattern"|"complicated access pattern" |for increasing and |for increasing and |decreasing data indexing |decreasing data indexing http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43432