From c3e72f64021e535658f61e86dc3a21325e88ae11 Mon Sep 17 00:00:00 2001 From: Jason Garrett-Glaser Date: Mon, 9 Nov 2009 09:18:03 -0800 Subject: [PATCH] Fix pixel_ssd on win64 Didn't preserve XMM registers, may or may not have caused problems. --- common/x86/pixel-a.asm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/x86/pixel-a.asm b/common/x86/pixel-a.asm index 15e39b6d..bfef0dbf 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 -- 2.47.3