Re:For sharing: Memory copy routine
Good results.
I also saw good improvements in my TCP/IP, particularly with IP fragment reassembly and TCP segment handling. Even though I try to avoid memory copies and attempt to make everything long word aligned it's difficult to avoid non-aligned transfers sometimes, that's where most of the speed gain comes from.
You might also want to try to rename the MEM_DataCopy label to "memcpy". I found a number of routines in the standard library I am using that rely on memcpy itself.
With the correct link order you can replace that too so the libraries use the version you supply. In my environment "v/f/s/printf" had a speed increase by doing this.
Regards,
Liam.
login or register to reply
|