[FFmpeg-devel] [PATCH][VAAPI][2/6] Add common data structures and helpers (take 3)
Mon Mar 9 15:30:26 CET 2009
On Mon, 9 Mar 2009, Michael Niedermayer wrote:
>> Agner's is indeed the best, then fast_memcpy/mmx (the very old one), then
>> libc, then fast_memcpy/sse2.
> could you post the source that was used to generate above numbers?
> At least the mplayer devs might be interrested if agners version is
$ cachebench -p (memcpy) + patch attached + add -fno-builtin:
-Dtest_memcpy=A_memcpy for Agner's
-Dtest_memcpy=fast_memcpy for MPlayer's
Note: for larger blocks (>= 512 KB), fast_memcpy/sse2 was the best on my
CPU. I have not fully tested unaligned cases though. Agner's should behave
better since he also has SSSE3 optimizations (PALIGNR). BTW, his lib is
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 592 bytes
More information about the ffmpeg-devel