http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53081
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-04-23 05:07:30 UTC --- I should mention I made one patch before based on the vectorizer code which did detection of at least memset; it was while I was an intern at Apple. I posted it and there was some review. And a few years back there was a paper at the GCC summit about it and expanding it to memcpy. I don't know what happened to that code though.