https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66877
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- Hmm, with a cross to arm-none-eabi and -O2 -ftree-vectorize I see grep 'vect_recog_over_widening_pattern: detected' t.c.146t.vect t.c:14:3: note: vect_recog_over_widening_pattern: detected: _130 = (signed short) patt_131; t.c:14:3: note: vect_recog_over_widening_pattern: detected: patt_128 = _129 << 3; t.c:14:3: note: vect_recog_over_widening_pattern: detected: _126 = (signed short) patt_127; t.c:14:3: note: vect_recog_over_widening_pattern: detected: patt_124 = _125 << 3; any other configury / option besides that required? Yes, 4 is also not 2, the other two are from t.c:14:3: note: ***** Re-trying analysis with vector size 8 and it doesn't vectorize at all because it doesnt' support unaligned loads. Please provide more information to reproduce with a cross or attach the vectorizer dump.