diff options
author | James Almer <[email protected]> | 2017-07-04 23:35:29 -0300 |
---|---|---|
committer | James Almer <[email protected]> | 2017-07-04 23:36:17 -0300 |
commit | 24bb7db4037876c5722b0eecf7412502e7225634 (patch) | |
tree | f18fdd5e1e322d7040125b4f201adaab1b8c9879 | |
parent | 3d3243577cfdca6dec39a8c4e75feefd2a170f90 (diff) |
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 <[email protected]>
-rw-r--r-- | libavcodec/x86/sbrdsp.asm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/x86/sbrdsp.asm b/libavcodec/x86/sbrdsp.asm index 62bbe512ec..51680f048b 100644 --- a/libavcodec/x86/sbrdsp.asm +++ b/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] |