4 ms·
I remember implementing memcpy for a PS3 game. If you were doing a lot of copying (which we were for some streaming systems) it was hugely beneficial to add som
by mackman 5y ago
I remember implementing memcpy for a PS3 game. If you were doing a lot of copying (which we were for some streaming systems) it was hugely beneficial to add some explicit memory prefetching with a handful of compiler intrinsics. I think the PPC processor on that lacked out of order execution so you would stall a thread waiting for memory all too easily.
- mhh__ 5y ago23-stage in-order pipeline according to Wikipedia https://en.wikipedia.org/wiki/Cell_(microprocessor)#Power_Processor_Element_(PPE) https://en.wikipedia.org/wiki/Cell_(microprocessor)#Power_Pr...
- dvdkhlng 5y agoWell, the Cell CPU also had DMA engines that were fully integrated into the MMU memory-mapping, so you would have been able to asynchronously do a memcpy() while the CPU's execution resources were busy running computations in parallel.