mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-11 09:35:22 +00:00
x86/flacds: clear the high bits from pred_order in lpc_32 functions
Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
c9fe9fb863
commit
78f55457c9
@ -43,6 +43,7 @@ INIT_XMM %1
|
|||||||
cglobal flac_lpc_32, 5,6,5, decoded, coeffs, pred_order, qlevel, len, j
|
cglobal flac_lpc_32, 5,6,5, decoded, coeffs, pred_order, qlevel, len, j
|
||||||
sub lend, pred_orderd
|
sub lend, pred_orderd
|
||||||
jle .ret
|
jle .ret
|
||||||
|
movsxdifnidn pred_orderq, pred_orderd
|
||||||
lea decodedq, [decodedq+pred_orderq*4-8]
|
lea decodedq, [decodedq+pred_orderq*4-8]
|
||||||
lea coeffsq, [coeffsq+pred_orderq*4]
|
lea coeffsq, [coeffsq+pred_orderq*4]
|
||||||
neg pred_orderq
|
neg pred_orderq
|
||||||
|
Loading…
Reference in New Issue
Block a user