void __fastcall copy_mem_mmx_a(void *dest, void *src, long size)
{
__asm
{
mov esi,src
mov edi,dest
mov eax,size
L1:
movq mm0,[esi]
movq [edi],mm0
add esi,8
add edi,8
sub eax, 8
jnz L1
emms
}
}
Looks nice, but Im using DJGPP, so i need to "convert" this to the GCC inline-assembly-syntax... Can someone please help me?
MMX memcpy.. For DJGPP
I saw this mmx-memcopy routine on this board a while agou
//Geron ? ,,,__oOo_(O.O)_oOo__| | | | | | | | || | | | | | | | |
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement