[FFmpeg-devel] [PATCH] x86/yadif: improve usage of ABS macros

James Almer jamrial at gmail.com
Tue Jul 8 18:38:35 CEST 2014


On 08/07/14 10:49 AM, Michael Niedermayer wrote:
> On Tue, Jul 08, 2014 at 01:42:26AM -0300, James Almer wrote:
>> ABS2 might help on processors where Out Of Order execution isn't very good.
>> Also remove a duplicate macro and use the x86util ones instead, which are 
>> optimized for mmxext/sse2.
> 
> have you benchmarked this ?
> if so please include the benchmark scores

Only for yadif-10, where using the x86util macros reduces the instruction count.
I saw a ~1% improvement.
For the other cases i don't have a CPU old enough where OOO performance might be 
a factor so i didn't try to bench.

I'll split this into different patches to follow Ronald's suggestions.


More information about the ffmpeg-devel mailing list