From: Fiona Glaser Date: Mon, 9 Nov 2009 17:18:03 +0000 (-0800) Subject: Fix pixel_ssd on win64 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4ed2a8e3d46a1a90df41ed0a195a3926f36d6c15;p=libx264 Fix pixel_ssd on win64 Didn't preserve XMM registers, may or may not have caused problems. --- diff --git a/common/x86/pixel-a.asm b/common/x86/pixel-a.asm index a650b84e..0f6ed6c1 100644 --- a/common/x86/pixel-a.asm +++ b/common/x86/pixel-a.asm @@ -231,6 +231,9 @@ cglobal x264_pixel_ssd_%1x%2_%3, 0,0,0 .startloop: %ifdef ARCH_X86_64 DECLARE_REG_TMP 0,1,2,3 +%ifnidn %3, mmx + PROLOGUE 0,0,8 +%endif %else PROLOGUE 0,5 DECLARE_REG_TMP 1,2,3,4