I'd like to get more information for Intel's fast 'memcpy' ( SSE based ):
- Isitavailableon Windows platforms?
- Is there a source code for the function and if Yes how could I download it? If No, please provide with details
what Intel's libraryhas that function?
time= 0.406786, MB/sec = 10310.828824 j=65536000
In general, if you are using a current glibc or the Intel compiler, it will be hard to beat the system memcpy performance.
I wrote the aversion of memcpy & memset routines used bythe Intel compiler at one point in time.
Usually the only way you can beat the system memcpy is if you know something about how you are going to use the memcpy... like you KNOW the source and dest are 16 byte aligned and you KNOW that the size is a multiple of 16 bytes, or something like that which the compiler can't figure out at compile time.
Also, for a general memcpy, the most common sizes are usually less than 256 bytes, and generally less than 64 bytes. At least, that was the case when I profiled memcpy usages a decade ago. These short cases are harder to optimize.
So, unless have time to burn, I'd recommend making sure you have a current glibc and/or Intel compiler.
Or profile your application and check whether a significant amount of time is actually being spent in memcpy.