[FFmpeg-devel] [PATCH] ac3dsp: Change punpckhqdq to movhlps in ac3_max_msb_abs_int16().
Justin Ruggles
justin.ruggles
Wed Feb 16 20:03:22 CET 2011
On 02/16/2011 01:54 PM, Ronald S. Bultje wrote:
> Hi,
>
> 2011/2/16 Justin Ruggles <justin.ruggles at gmail.com>:
>> ---
>> There really isn't any measurable speed difference, mostly because this is outside the loop, but it makes the intention clearer I think.
>>
>> libavcodec/x86/ac3dsp.asm | 2 +-
>> 1 files changed, 1 insertions(+), 1 deletions(-)
> [..]
>> @@ -111,7 +111,7 @@ cglobal ac3_max_msb_abs_int16_%1, 2,2,5, src, len
>> %endif
>> %ifidn mmsize, 16
>> mova m0, m2
>> - punpckhqdq m0, m0
>> + movhlps m0, m0
>> por m2, m0
>
> He meant remove the mova also.
Oh, i see. nice. New patch coming soon.
-Justin
More information about the ffmpeg-devel
mailing list