mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
x86/opusdps: clear the high bits from some gprs
Fixes checkasm on systems like win64. Reviewed-by: Lynne Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
b94cf549e2
commit
80444e23ac
@ -64,7 +64,7 @@ cglobal opus_deemphasis, 4, 4, 8, out, in, coeff, len
|
|||||||
|
|
||||||
add inq, mmsize
|
add inq, mmsize
|
||||||
add outq, mmsize
|
add outq, mmsize
|
||||||
sub lenq, mmsize >> 2
|
sub lend, mmsize >> 2
|
||||||
jg .loop
|
jg .loop
|
||||||
|
|
||||||
%if ARCH_X86_64 == 0
|
%if ARCH_X86_64 == 0
|
||||||
@ -80,7 +80,8 @@ cglobal opus_postfilter, 4, 4, 8, data, period, gains, len
|
|||||||
VBROADCASTSS m1, [gainsq + 4]
|
VBROADCASTSS m1, [gainsq + 4]
|
||||||
VBROADCASTSS m2, [gainsq + 8]
|
VBROADCASTSS m2, [gainsq + 8]
|
||||||
|
|
||||||
lea periodq, [periodq*4 + 8]
|
shl periodd, 2
|
||||||
|
add periodq, 8
|
||||||
neg periodq
|
neg periodq
|
||||||
|
|
||||||
movups m3, [dataq + periodq]
|
movups m3, [dataq + periodq]
|
||||||
@ -104,7 +105,7 @@ cglobal opus_postfilter, 4, 4, 8, data, period, gains, len
|
|||||||
movaps [dataq], m5
|
movaps [dataq], m5
|
||||||
|
|
||||||
add dataq, mmsize
|
add dataq, mmsize
|
||||||
sub lenq, mmsize >> 2
|
sub lend, mmsize >> 2
|
||||||
jg .loop
|
jg .loop
|
||||||
|
|
||||||
RET
|
RET
|
||||||
|
Loading…
Reference in New Issue
Block a user