|
|
|
|
|
by kristoffer
2337 days ago
|
|
Well, on e.g. x86 you have "rep stos" instruction which pretty much amounts to memset in HW. The operation needs to be blocking otherwise you could of course do it without CPU at all (DMA). But you still have to go through the memory controller and actually write each word of memory. |
|
In fact all ones is not hard either, there were some experiments to give RAM ability to perform simple page-level computations with promising results.