This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

C6748 fast copy and memory fill

Any recommendations?  Are "memmove()" and "memset()" a good choice (using standard library functions from <string.h>) or are there optimized routines available for the C6748 in some library that I have not been able to find?

 

  • Those functions are fine.  They're both CPU based which has pros and cons.  On the plus side you won't have to worry about cache coherence issues like you would if using DMA.  On the negative side, you're using the CPU to do something that other hardware can do.  I don't know of anything off-hand to easily use the DMA for this purpose, so if you don't want to write something yourself then you're probably best to simply use what's already included in the compiler RTS library.