|
-
August 17th, 2005, 03:36 PM
#1
A Better MMX/SSE enabled memcpy ?
I'm working with an imaging application that currently needs to load into memory at one time about 64 MB of images. Well due to some changes that are going to be made, the memory requirement is expected to increase eight to ten-fold.
Performance is already something of an issue, and is expected to get worse when the memory requirement increases.
My application I'm working with uses some legacy code that uses many unnecessary memcpy()s where copying a pointer would work just as well. I plan to change this at my first opportunity. I fully expect that this should solve most of the problem.
But because the memory requirement is going to change and I'm going to be processing 8-10x the amount of data in the near future I am looking for a way to get the most performance from the remaining unavoidable memcpy()s as I can. Profiling indicates that memcpy is responsible for the bulk of the time spent where my performance problems are most noticeable.
What I would like to do is locate an existing or create a new MMX/SSE enabled memcpy() function and allow my application to use it instead.
Do you know of any MMX/SSE enabled memcpy functions, or have any advice on how to implement one ?
Thanks for taking the time to read this and offer your advice.
Last edited by Mutilated1; August 17th, 2005 at 03:58 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|