x86/sbrdsp: remove unnecessary sign extend instruction in apply_noise_main

noise needs to be zero extended and it can be done implicitly as a side effect
in a subsequent instruction.

Signed-off-by: James Almer <jamrial@gmail.com>
pull/264/head^2
James Almer 8 years ago
parent 3d3243577c
commit 24bb7db403
  1. 3
      libavcodec/x86/sbrdsp.asm

@ -382,8 +382,7 @@ apply_noise_main:
%else
DEFINE_ARGS Y, s_m, q_filt, noise, kx, count
%endif
movsxdifnidn noiseq, noised
dec noiseq
dec noised
shl countd, 2
%ifdef PIC
lea NOISE_TABLE, [sbr_noise_table]

Loading…
Cancel
Save