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

Martin Storsjö martin at martin.st
Wed Feb 5 13:32:53 EET 2020


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)



More information about the ffmpeg-devel mailing list