1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-08-27 20:01:50 +02:00

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>
This commit is contained in:
James Almer 2017-07-04 23:35:29 -03:00
parent 3d3243577c
commit 24bb7db403

View File

@ -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]