From de417982e8977a1dbf05b48c9d0400c500bb5268 Mon Sep 17 00:00:00 2001 From: James Almer Date: Sun, 3 Aug 2014 23:53:40 -0300 Subject: [PATCH] x86/vp9lpf: use fewer instructions in SPLATB_MIX Signed-off-by: James Almer Signed-off-by: Michael Niedermayer --- libavcodec/x86/vp9lpf.asm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libavcodec/x86/vp9lpf.asm b/libavcodec/x86/vp9lpf.asm index c5db0caffb..def7d5a9d3 100644 --- a/libavcodec/x86/vp9lpf.asm +++ b/libavcodec/x86/vp9lpf.asm @@ -302,9 +302,8 @@ SECTION .text pshufb %1, %2 %else punpcklbw %1, %1 - punpcklqdq %1, %1 - pshuflw %1, %1, 0 - pshufhw %1, %1, 0x55 + punpcklwd %1, %1 + punpckldq %1, %1 %endif %endmacro