Commit 24bb7db4 authored by James Almer's avatar James Almer

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: 's avatarJames Almer <jamrial@gmail.com>
parent 3d324357
...@@ -382,8 +382,7 @@ apply_noise_main: ...@@ -382,8 +382,7 @@ apply_noise_main:
%else %else
DEFINE_ARGS Y, s_m, q_filt, noise, kx, count DEFINE_ARGS Y, s_m, q_filt, noise, kx, count
%endif %endif
movsxdifnidn noiseq, noised dec noised
dec noiseq
shl countd, 2 shl countd, 2
%ifdef PIC %ifdef PIC
lea NOISE_TABLE, [sbr_noise_table] lea NOISE_TABLE, [sbr_noise_table]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment