[FFmpeg-devel] Anybody has a Core 2? [PATCH] Small SSSE3 optimization

Loren Merritt lorenm
Tue May 8 18:06:20 CEST 2007


On Tue, 8 May 2007, Mike Melanson wrote:
> Zuxy Meng wrote:
>>
>> Attached patch makes use of SSSE3 instruction pabsw to calculate the
>> absolute value of packed words. Just for fun. And I don't have a SSSE3
>> capable CPU so hopefully someone with a Core 2 can help test it to
>> ensure it doesn't break anything (better with benchmarks of course:-)

You'd get even more speedup by also using SSE2/xmmregs. And both additions 
would be better written as macros, no need for code duplication.

--Loren Merritt




More information about the ffmpeg-devel mailing list