Mail Archives: djgpp/1997/04/16/21:39:51
Calvin French wrote:
>
> "Guido Bursch" <bursch AT uni-muenster DOT de> wrote:
>
> >gprof reported me that 72% (22% self) of the runtime were wasted by
> >the function (or macro or whatever) "__djgpp_exception_processor"
...
> >To my program is to say that FP- operations are heavyly used and I
> >have to use an FP- emulator because I dont't own an 387 FPU.
> On the odd chance that noone answers this who can give you a definite
> answer, I would say it's the FPU emulation that is killing you. I have
I can't say for sure but that is my geus too. Trying to access the FPU
in PMode when there isn't one gerates an exeption (if the emulation bit
in the CR0 register is set it generates an INT 7 I think) that the DPMI
server can catch and provide FPU emulation.
The two fixes I can sugest based on this geuss is: 1)get a better mboard
and processor, a basic P100 is cheep now, and 2) use fixed point math.
You'll want to make your lib fixed point some time anyway for speed
reasons.
> Oh, and let me also make a small suggestion if I may; Allegro.
> Excellent fixed point routines, not to mention polygon stuff.
I'll second that.
-SC
- Raw text -