Mail Archives: djgpp/1996/01/14/16:05:58
> I was wondering is it normal for 387 FPU emulator ing DJGPP to be so slow?
> I made a program that calculates 5000x sinus function, and it took more that
> 30 seconds! I made the same program in Borland C and it took less than a
> second!
I would say this performance is abnormal, EMU387 is usually no more than a
factor of 2X slower.
If performance and accuracy is important for FPU emulation, you probably
should get the WMEMU package. It is better than the Borland libraries, and is
the code used in Linux. It does have much more restrictive requirements
on re-distribution, however.
Improving any FPU emulation is a dead issue. When 486 processors with FPUs
are $25 (and 387s are essentially free), and talented programmers going for
$50+ an hour, it just doesn't make any sense. The source is available if
it does make sense to someone else.
- Raw text -