From: Felix <fx...@gm...> - 2002-07-12 16:29:33
|
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 <j_r...@ya...> 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 > Dri...@li... > https://lists.sourceforge.net/lists/listinfo/dri-devel > > __\|/__ ___ ___ ___ __Tschüß_______\_6 6_/___/__ \___/__ \___/___\___You can do anything,___ _____Felix_______\Ä/\ \_____\ \_____\ \______U___just not everything____ fx...@gm... >o<__/ \___/ \___/ at the same time! |