[FFmpeg-devel] [PATCH] x86/opusdps: clear the high bits from some gprs
James Almer
jamrial at gmail.com
Thu Sep 12 02:44:03 EEST 2019
On 9/11/2019 8:23 PM, James Almer wrote:
> Fixes checkasm on systems like win64.
>
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
> libavcodec/x86/opusdsp.asm | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/libavcodec/x86/opusdsp.asm b/libavcodec/x86/opusdsp.asm
> index f5d206a8b1..53a799d3d6 100644
> --- a/libavcodec/x86/opusdsp.asm
> +++ b/libavcodec/x86/opusdsp.asm
> @@ -64,7 +64,7 @@ cglobal opus_deemphasis, 4, 4, 8, out, in, coeff, len
>
> add inq, mmsize
> add outq, mmsize
> - sub lenq, mmsize >> 2
> + sub lend, mmsize >> 2
> jg .loop
>
> %if ARCH_X86_64 == 0
> @@ -80,7 +80,7 @@ cglobal opus_postfilter, 4, 4, 8, data, period, gains, len
> VBROADCASTSS m1, [gainsq + 4]
> VBROADCASTSS m2, [gainsq + 8]
>
> - lea periodq, [periodq*4 + 8]
> + lea periodd, [periodd*4 + 8]
> neg periodq
>
> movups m3, [dataq + periodq]
> @@ -104,7 +104,7 @@ cglobal opus_postfilter, 4, 4, 8, data, period, gains, len
> movaps [dataq], m5
>
> add dataq, mmsize
> - sub lenq, mmsize >> 2
> + sub lend, mmsize >> 2
> jg .loop
>
> RET
Approved by Lynne on IRC, and pushed.
More information about the ffmpeg-devel
mailing list