Removed more unused stuff.

Finally finished ingame OpenGL code (I hope).

Fixed another mistake in mathline.c.
This commit is contained in:
Steven Fuller 2001-08-24 05:19:50 +00:00 committed by Patryk Obara
parent 90d3747b13
commit acbc8ea8b8
17 changed files with 612 additions and 1390 deletions

View file

@ -494,7 +494,6 @@ __asm__("movl 0(%%esi), %%eax \n\t"
int WideMulNarrowDiv(int a, int b, int c)
{
#if 0 /* TODO: broken? */
int retval;
/*
_asm
@ -505,16 +504,13 @@ int WideMulNarrowDiv(int a, int b, int c)
mov retval,eax
}
*/
/* TODO */
__asm__("imull %2 \n\t"
"idivl %3 \n\t"
__asm__("imull %%ebx \n\t"
"idivl %%ecx \n\t"
: "=a" (retval)
: "a" (a), "q" (b), "q" (c)
: "cc"
: "a" (a), "b" (b), "c" (c)
: "%edx", "cc"
);
return retval;
#endif
return (a * b) / c;
}
/*