avcodec/x86/lossless_videodsp: use SPLATW in add_int16

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/54/head
Michael Niedermayer 11 years ago
parent d9779d648e
commit 63d2be7533
  1. 4
      libavcodec/x86/lossless_videodsp.asm

@ -25,9 +25,7 @@ SECTION_TEXT
%macro ADD_INT16_LOOP 1 ; %1 = is_aligned %macro ADD_INT16_LOOP 1 ; %1 = is_aligned
movd m4, maskq movd m4, maskq
punpcklwd m4, m4 SPLATW m4, m4
punpcklwd m4, m4
punpcklwd m4, m4
add wq, wq add wq, wq
test wq, 2*mmsize - 1 test wq, 2*mmsize - 1
jz %%.tomainloop jz %%.tomainloop

Loading…
Cancel
Save