[x264-devel] commit: mmx cachesplit sad of non-square sizes checked height instead of width ( Loren Merritt )

git version control git at videolan.org
Thu Apr 10 09:32:50 CEST 2008


x264 | branch: master | Loren Merritt <pengvado at akuvian.org> | Mon Apr  7 08:24:40 2008 -0600| [0feb9f1b088af1391603bee9da0b1f06b5fb45f6]

mmx cachesplit sad of non-square sizes checked height instead of width

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

 common/x86/sad-a.asm |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/common/x86/sad-a.asm b/common/x86/sad-a.asm
index 61a68ed..c178e8e 100644
--- a/common/x86/sad-a.asm
+++ b/common/x86/sad-a.asm
@@ -727,8 +727,8 @@ cglobal x264_pixel_sad_16x%2_cache64_%1, 0,0
 
 %macro SAD_CACHELINE_START_MMX2 4 ; width, height, iterations, cacheline
     mov    eax, r2m
-    and    eax, 0x17|%2|(%4>>1)
-    cmp    eax, 0x10|%2|(%4>>1)
+    and    eax, 0x17|%1|(%4>>1)
+    cmp    eax, 0x10|%1|(%4>>1)
     jle x264_pixel_sad_%1x%2_mmxext
     and    eax, 7
     shl    eax, 3



More information about the x264-devel mailing list