|
|
|
|
|
by daeken
4557 days ago
|
|
> The history and evolution of this instruction has quite an interesting story from a CPU architecture perspective. I'd love to read about that if you have any references. I've used the MOVS instructions a million times without really thinking about them much. |
|
http://software.intel.com/en-us/forums/topic/275765
Even more recently (Nehalem and beyond), they really started paying attention to optimising this instruction, so that even the byte/word variants will copy entire cache lines at once if possible.
http://stackoverflow.com/questions/8858778/why-are-complicat...
(IMHO the 2nd answer to that question should really have been chosen, since the 1st answer would be closer to reality a decade or two ago.)