32dib remove one of color fill optimizing until it can be fix for oarch=pentiun2 DBG=0 with vmware drv
Modified: trunk/reactos/subsys/win32k/dib/dib32bpp.c

Modified: trunk/reactos/subsys/win32k/dib/dib32bpp.c
--- trunk/reactos/subsys/win32k/dib/dib32bpp.c	2005-06-12 19:23:40 UTC (rev 15879)
+++ trunk/reactos/subsys/win32k/dib/dib32bpp.c	2005-06-13 01:58:57 UTC (rev 15880)
@@ -59,9 +59,9 @@
 "  jmp   .L2\n"
 ".L1:\n"
 "  stosw\n"
+"  ror  $0x10,%%eax\n"
 "  mov  %1,%%ecx\n"     /* Setup count of fullwords to fill */
 "  dec  %%ecx\n"
-"  rol $16,%%eax\n"
 "  rep stosl\n"         /* The actual fill */
 "  shr $0x10,%%eax\n"
 "  stosw\n"
@@ -703,46 +703,12 @@
 {			 
   ULONG DestY;	
 
-#ifdef _M_IX86   
-  ULONG width;
-  PULONG pos;
-  ULONG delta = DestSurface->lDelta;
-  
-  width = (DestRect->right - DestRect->left) ;
-  pos =  (PULONG) (DestSurface->pvScan0 + DestRect->top * delta + (DestRect->left<<2));
-  
-  for (DestY = DestRect->top; DestY< DestRect->bottom; DestY++)
-  {			
-    __asm__ __volatile__ (
-            "  cld\n"
-            "  mov  %0, %%eax\n"
-            "  test $0x03, %%edi\n" /* Align to fullword boundary */
-            "  jnz   .FL1\n"
-            "  mov  %1,%%ecx\n"     /* Setup count of fullwords to fill */
-            "  rep stosl\n"         /* The actual fill */
-            "  jmp   .FL2\n"
-            ".FL1:\n"            
-            "  stosw\n"
-            "  mov  %1,%%ecx\n"     /* Setup count of fullwords to fill */
-            "  dec  %%ecx\n"            
-            "  rol $16,%%eax\n"
-            "  rep stosl\n"         /* The actual fill */
-            "  shr $0x10,%%eax\n"
-            "  stosw\n"
-            ".FL2:\n"            
-            : /* no output */
-            : "r"(color), "r"(width), "D"(pos)
-            : "%eax", "%ecx");    
-            pos =(PULONG)((ULONG_PTR)pos + delta);	 
-  }
-
-#else				
 	for (DestY = DestRect->top; DestY< DestRect->bottom; DestY++)
   {
     DIB_32BPP_HLine (DestSurface, DestRect->left, DestRect->right, DestY, color);
   }
-#endif
 
+
 	return TRUE;
 }
 /*