[x264-devel] commit: Fix pixel_ssd on win64 (Jason Garrett-Glaser )

git version control git at videolan.org
Mon Nov 9 18:19:00 CET 2009


x264 | branch: master | Jason Garrett-Glaser <darkshikari at gmail.com> | Mon Nov  9 09:18:03 2009 -0800| [c3e72f64021e535658f61e86dc3a21325e88ae11] | committer: Jason Garrett-Glaser 

Fix pixel_ssd on win64
Didn't preserve XMM registers, may or may not have caused problems.

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=c3e72f64021e535658f61e86dc3a21325e88ae11
---

 common/x86/pixel-a.asm |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/common/x86/pixel-a.asm b/common/x86/pixel-a.asm
index 15e39b6..bfef0db 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



More information about the x264-devel mailing list