http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53726
--- Comment #17 from H.J. Lu <hjl.tools at gmail dot com> 2012-06-20 15:36:09 UTC --- (In reply to comment #16) > But I am not sure if a good library implementation shouldn't be always > preferable to a byte-wise copy. We could, at least try to envision a way > to retain and use the knowledge that the size is at most 8 when expanding > the memcpy (with AVX we could use a masked store for example - quite fancy). string/memory functions in libc can be much faster than the ones generated by GCC unless the size is very small, PR 43052.