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

Martin Storsjö git at videolan.org
Wed Feb 5 16:50:52 EET 2020


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Wed Feb  5 13:29:32 2020 +0200| [0815a22dccbb67970ea84559f22afacee4219192] | committer: Martin Storsjö

vf_ssim: Fix loading doubles to float registers on i386

This fixes the tests filter-refcmp-ssim-yuv and filter-refcmp-ssim-rgb
on i386 after breaking in fcc0424c933742c8fc852371e985d16b6eb4bfe9.

Signed-off-by: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0815a22dccbb67970ea84559f22afacee4219192
---

 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



More information about the ffmpeg-cvslog mailing list