Removed more unused stuff.
Finally finished ingame OpenGL code (I hope). Fixed another mistake in mathline.c.
This commit is contained in:
parent
90d3747b13
commit
acbc8ea8b8
17 changed files with 612 additions and 1390 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue