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... > > Thanks. > > Jos� Fonseca > > > ------------------------------------------------------- > 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 > > __\|/__ ___ ___ ___ __Tsch��_______\_6 6_/___/__ \___/__ \___/___\___You can do anything,___ _____Felix_______\�/\ \_____\ \_____\ \______U___just not everything____ [EMAIL PROTECTED] >o<__/ \___/ \___/ at the same time! ------------------------------------------------------- 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
