Browse Source

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>
tags/n3.4
James Almer 8 years ago
parent
commit
24bb7db403
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      libavcodec/x86/sbrdsp.asm

+ 1
- 2
libavcodec/x86/sbrdsp.asm 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]


Loading…
Cancel
Save