[AD] bug in __colorconv_blit_16_to_32.

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


i got an error....(several times now), but i dont know how to repeat it.

using win2k sp1... on an AMDk6-2- 500 Mhz.
allegro 4.0.1
msvc6.0 debug built  lib.

the error is marked 1/2 way down this dump...
i hope this helps someone !!!!!



__colorconv_blit_16_to_32:
00587EFC A1 D4 C5 BB 00       mov         eax,[_cpu_capabilities (00bbc5d4)]
00587F01 83 E0 04             and         eax,4
00587F04 0F 84 B6 07 00 00 je __colorconv_blit_15_to_24+0F0h (005886c0)
00587F0A 55                   push        ebp
00587F0B 89 E5                mov         ebp,esp
00587F0D 53                   push        ebx
00587F0E 56                   push        esi
00587F0F 57                   push        edi
00587F10 BE E0 07 00 00       mov         esi,7E0h
00587F15 0F 6E DE             movd        mm3,esi
00587F18 0F 62 DB             punpckldq   mm3,mm3
00587F1B BE 00 F8 00 00       mov         esi,0F800h
00587F20 0F 6E E6             movd        mm4,esi
00587F23 0F 62 E4             punpckldq   mm4,mm4
00587F26 BE 1F 00 00 00       mov         esi,1Fh
00587F2B 0F 6E EE             movd        mm5,esi
00587F2E 0F 62 ED             punpckldq   mm5,mm5
00587F31 8B 75 08             mov         esi,dword ptr [ebp+8]
00587F34 8B 4E 00             mov         ecx,dword ptr [esi]
00587F37 8B 56 04             mov         edx,dword ptr [esi+4]
00587F3A 8B 46 08             mov         eax,dword ptr [esi+8]
00587F3D 8B 76 0C             mov         esi,dword ptr [esi+0Ch]
00587F40 01 C9                add         ecx,ecx
00587F42 29 C8                sub         eax,ecx
00587F44 8B 7D 0C             mov         edi,dword ptr [ebp+0Ch]
00587F47 01 C9                add         ecx,ecx
00587F49 8B 5F 08             mov         ebx,dword ptr [edi+8]
00587F4C 8B 7F 0C             mov         edi,dword ptr [edi+0Ch]
00587F4F 29 CB                sub         ebx,ecx
00587F51 C1 E9 02             shr         ecx,2
00587F54 89 CD                mov         ebp,ecx
00587F56 89 F6                mov         esi,esi
00587F58 D1 E9                shr         ecx,1
00587F5A 89 F6                mov         esi,esi
----> ERROR WAS HERE 00587F5C 0F 6E 06 movd mm0,dword ptr [esi]
00587F5F 0F 61 C0             punpcklwd   mm0,mm0
00587F62 0F 6F C8             movq        mm1,mm0
00587F65 0F 6F D0             movq        mm2,mm0
00587F68 0F DB C5             pand        mm0,mm5
00587F6B 0F 72 F0 03          pslld       mm0,3
00587F6F 0F DB CB             pand        mm1,mm3
00587F72 0F 72 F1 05          pslld       mm1,5
00587F76 0F EB C1             por         mm0,mm1
00587F79 83 C6 04             add         esi,4
00587F7C 0F DB D4             pand        mm2,mm4
00587F7F 0F 72 F2 08          pslld       mm2,8
00587F83 0F EB C2             por         mm0,mm2
00587F86 0F 7F 07             movq        mmword ptr [edi],mm0
00587F89 83 C7 08             add         edi,8
00587F8C 49                   dec         ecx
00587F8D 75 CD jne __colorconv_blit_16_to_32+60h (00587f5c)
00587F8F 01 C6                add         esi,eax
00587F91 89 E9                mov         ecx,ebp
00587F93 01 DF                add         edi,ebx
00587F95 4A                   dec         edx
00587F96 75 C0 jne __colorconv_blit_16_to_32+5Ch (00587f58)
00587F98 0F 77                emms
00587F9A 5F                   pop         edi
00587F9B 5E                   pop         esi
00587F9C 5B                   pop         ebx
00587F9D 5D                   pop         ebp
00587F9E C3                   ret
00587F9F 90                   nop



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