5 ms·
> i.e you have to spend CPU cycles copying data Same for x86. "String" instructions for copying between regions of memory is the closest thing to a memory-to-m
by datenwolf 7y ago
> i.e you have to spend CPU cycles copying data
Same for x86. "String" instructions for copying between regions of memory is the closest thing to a memory-to-memory DMA, a feature commonplace on microcontrollers.
- fulafel 7y agoThe cache is the only[1] core-private memory in x86. If you think about the cache as the local storage, there's automatic memory-to-memory DMA between cache and shared main memory :) [1] Of course there is some architected program state including the registers, fp stack, flags, and various other processor state that can be saved/loaded but let's keep to byte-addressable storage