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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=32ef8652729945bc7bcaf2b1d3e112f5a7530bc6;p=libx264 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