1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-24 13:56:33 +02:00

Revert "x86/sbrdsp: remove unnecessary sign extend instruction in apply_noise_main"

This reverts commit 24bb7db4037876c5722b0eecf7412502e7225634.

noise has to after all be sign extended, not zero extended, on tests
other than checkasm.
Fixes most aac tests broken by the now reverted commit.
This commit is contained in:
James Almer 2017-07-05 10:28:03 -03:00
parent 1fe40e73a6
commit 9d5e81d3b1

View File

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