Felix Kühling wrote:
> I got also a bit worried about using string instructions without
> clearing the direction flag. Is there any convention that prevents an
> application from setting the direction flag. If not, it might happen
> that esi and edi are decremented.
> 
> On Fri, 12 Jul 2002 11:51:13 +0100
> José Fonseca <[EMAIL PROTECTED]> wrote:
> 
> 
>>On Fri, Jul 12, 2002 at 04:28:25AM +0200, Felix Kühling wrote:
>>
>>>Hi,
>>>
>>>just updated after reading José's mail about the MACH64_NATIVE_VTXMFT
>>>and tried running some apps. q3demo and quake2 crashed with multi
>>>textures enabled:
>>>
>>>q3demo.x86: mach64_tris.c:518: mach64_draw_triangle: Assertion `vb == vbchk' failed.
>>>
>>>I found the problem in the COPY_VERTEX macro. The movsl instruction
>>>doesn't decrement %ecx when there is no rep prefix, so you have to
>>>decrease afterwards. Here's the fix:
>>>
>>>
>>[...]
>>
>>It's now on CVS.
>>
>>I though that the %ecx decrement was already handled by the 'movsl'
>>instruction and that the 'rep' prefix just added the conditional jump...


I missed the start of this...

Is this something that should be fixed in the other drivers as well?

Keith





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Gadgets, caffeine, t-shirts, fun stuff.
http://thinkgeek.com/sf
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to