[Mplayer-users] [mplayer PATCH] fastmemcpy alignment for any cpu

Felix Buenemann atmosfear at users.sourceforge.net
Mon Apr 23 16:33:04 CEST 2001


On Montag, 23. April 2001 11:48 you wrote:
> Hello, Arpi, Felix, all!
>
> But what about alignment for any cpu?
>
> It improves speed on any cpu which supports fasmemcpy.
>
Well I've tested new code and it has the adverse effect on PIII, MMX2 
intructions slow down a lot by aligning, even more if you align to 16byte for 
mmx2 instead of 8byte.

Please see attached perlbench log.

> Please compare (Duron-750):
> Old results (misaligned dest):
> mmx: v2-v1=766128661 = 1009719us  (99.037fps)  148.6MB/s
> k6 : v2-v1=627413495 = 826906us  (120.933fps)  181.4MB/s
> k7 : v2-v1=221021775 = 291269us  (343.325fps)  515.0MB/s
>
> New results (aligned dest):
> mmx: v2-v1=766126582 = 1009433us  (99.066fps)  148.6MB/s
> k6 : v2-v1=563458894 = 742432us  (134.692fps)  202.0MB/s
> k7 : v2-v1=144598822 = 190540us  (524.824fps)  787.2MB/s
>
> Below patch:
>
[patch cut out]
>
>
> Best regards! Nick
>
>
> _______________________________________________
> Mplayer-users mailing list
> Mplayer-users at lists.sourceforge.net
> http://lists.sourceforge.net/lists/listinfo/mplayer-users

-- 
Best Regards,
   Felix
-------------- next part --------------
A non-text attachment was scrubbed...
Name: new_result.txt.gz
Type: application/x-gzip
Size: 3293 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20010423/62a8458f/attachment.bin>


More information about the MPlayer-users mailing list