[FFmpeg-devel] [PATCH] vf_ssim: Fix loading doubles to float registers on i386

Paul B Mahol onemda at gmail.com
Wed Feb 5 16:25:44 EET 2020


LGTM, will you push it or me?

On 2/5/20, Martin Storsjö <martin at martin.st> wrote:
> This fixes the tests filter-refcmp-ssim-yuv and filter-refcmp-ssim-rgb
> on i386 after breaking in fcc0424c933742c8fc852371e985d16b6eb4bfe9.
> ---
>  libavfilter/x86/vf_ssim.asm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libavfilter/x86/vf_ssim.asm b/libavfilter/x86/vf_ssim.asm
> index 1e682fe452..78809305de 100644
> --- a/libavfilter/x86/vf_ssim.asm
> +++ b/libavfilter/x86/vf_ssim.asm
> @@ -255,6 +255,6 @@ cglobal ssim_end_line, 3, 3, 7, sum0, sum1, w
>      addpd             m0, m4
>  %if ARCH_X86_32
>      movsd            r0m, m0
> -    fld             r0mp
> +    fld        qword r0m
>  %endif
>      RET
> --
> 2.21.1 (Apple Git-122.3)
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-devel mailing list