mmx memcpy

mmx memcpy

I'm new to mmx technology and
would like to speed up my application
by simply replacing the C++ memcpy
function with a faster mmx one.

AMD provides a copy/paste c++
and assembler version of the memcpy
function optimized for AMD.

I couldn't find one at the intel site
nor in the web. I found many documents
about mmx, I downloaded the IPP and MKL
but none of them offers a copy/paste
memcpy function.

Please help

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Here's what the Intel C++ Compiler generates:

;;; memcpy(a, b, c);

mov edi, a
mov esi, b
mov ecx, c
push ecx
shr ecx, 2
rep movsd
pop ecx
and ecx, 3
rep movsb

Intel Developer Support

For on-line assistance:
For product support information:
* Intel and Pentium are registered trademarks of Intel Corporation or its subsidiaries in the United States and other countries
* Other names and brands may be claimed as the property of others

Brandon Hewitt
Technical Consulting Engineer

For 1:1 technical support:

Software Product Support info:

Leave a Comment

Please sign in to add a comment. Not a member? Join today