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
Thanks
-Mel

2 posts / 0 nouveau(x)
Dernière contribution
Reportez-vous à notre Notice d'optimisation pour plus d'informations sur les choix et l'optimisation des performances dans les produits logiciels Intel.

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

Brandon
Intel Developer Support

For on-line assistance: http://support.intel.com/support/performancetools
For product support information: http://www.intel.com/software/products/support
* 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: http://premier.intel.com

Software Product Support info: http://www.intel.com/software/support

Laisser un commentaire

Veuillez ouvrir une session pour ajouter un commentaire. Pas encore membre ? Rejoignez-nous dès aujourd’hui