[AD] Use MMX to get fast |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
Thanks for all.
Now I see a code similar to my code in
"iblit16.s"
FUNC(_linear_blit16)
// MMX - blit longs64
I use this code in 1999 to get 24fps (800x600x32) in a Pentium I -
MMX, and to get this rate I had to improve my routine, I repeated the central
block 8 times.
mov ecx,(num of bytes) / 64
loopq: ;
; this
code 8 times
;
movq MM0,[esi]
;
esi = source index
movq [edi],MM0
;
edi = destination index
add esi,8
add edi,8
;
;
;
|
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |