Re: [AD] Color convertors

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> I tested everything under Windows except the routines that convert to
> 15-bit and the 8-bit to 8-bit conversion routine.

I just found a last (hopefully) remaining bug in the 32->15 MMX routine.
The fix has already been commited:

--- /cvsroot/allegro/src/misc/icolconv.s Sun Oct 28 10:35:52 2001
+++ /allegro/src/misc/icolconv.s Sun Dec 16 13:48:36 2001
@@ -1075,9 +1075,8 @@
          movd %mm6, (%ebx)
          addl $4, %ebx
 
-         incl %ebp
-         cmpl %edx, %ebp
-         jb next_block_32_to_15
+         decl %edx
+         jnz next_block_32_to_15
 
 #ifndef ALLEGRO_COLORCONV_ALIGNED_WIDTH
       do_one_pixel_32_to_15:


--
Eric Botcazou
ebotcazou@xxxxxxxxxx



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/