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

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:

Laisser un commentaire

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