Re:Memcpy vs. memmove
by stephencanon on Tuesday December 02, 2014 @09:51AM
(#8687332)
Just to be perfectly precise, not all uses of the rep prefix are fast now. Only rep movs and rep stos are improved, IIRC.
That used to be the case. As is mentioned, modern processors have fixed the 'rep' prefix to be much faster. Under linux, if your /proc/cpuinfo shows 'rep_good' in the flags section, then your CPU is of this newer class.