On Thu, Jan 30, 2014 at 03:43:32PM +0100, Janne Grunau wrote:
> --- a/libavcodec/x86/videodsp.asm
> +++ b/libavcodec/x86/videodsp.asm
> @@ -344,10 +344,6 @@ VERTICAL_EXTEND 16, 22
> movzx vald, byte %2
> imul vald, 0x01010101
> %if %1 >= 8
> @@ -356,13 +352,15 @@ VERTI
From: "Ronald S. Bultje"
Do not use word-size multiplications if size == 2, and if we're using
SIMD instructions (size >= 8), complete leftover 4byte sets using movd,
not mov. Both of these changes lead to minor speedups.
Signed-off-by: Janne Grunau
---
libavcodec/x86/videodsp.asm | 34 +++