------- Comment #3 from dorit at gcc dot gnu dot org 2008-08-22 13:31 ------- (In reply to comment #2) > The x86_64 generated code looks like ... > I wonder why we do not use movups instead. > t.i:3: note: Alignment of access forced using peeling. > t.i:3: note: Peeling for alignment will be applied.
because the vectorizer doesn't support misaligned stores. I think it should be easy to add - see this old patch: http://gcc.gnu.org/ml/gcc-patches/2007-01/msg00604.html (and also on http://gcc.gnu.org/wiki/VectorizationTasks, under "todo"). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37194