From: Loren Merritt Date: Mon, 7 Apr 2008 14:24:40 +0000 (-0600) Subject: mmx cachesplit sad of non-square sizes checked height instead of width X-Git-Url: http://www.zmx.ovh/git.videolan.org/?a=commitdiff_plain;h=0feb9f1b088af1391603bee9da0b1f06b5fb45f6;p=x264.git mmx cachesplit sad of non-square sizes checked height instead of width --- diff --git a/common/x86/sad-a.asm b/common/x86/sad-a.asm index 61a68ed6..c178e8e1 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