2 * PROJECT: Win32 subsystem
3 * LICENSE: See COPYING in the top level directory
4 * FILE: win32ss/gdi/dib/i386/dib24bpp_hline.s
5 * PURPOSE: ASM optimised 24bpp HLine
6 * PROGRAMMERS: Magnus Olsen
13 PUBLIC _DIB_24BPP_HLine
46 /* For small fills, don't bother doing anything fancy */
48 movzx ecx, word ptr [esp+58]
68 /* Align to 4-byte address */
76 /* This is about 30% faster than the generic C code below */
77 movzx edx, word ptr [esp+58]
125 jnz leftoverfromthemainloop
132 leftoverfromthemainloop:
134 /* Count = Count & 0x03; */
143 inc dword ptr [esp+4]
147 jnz leftoverfromthemainloop