Greetings,

I was poking around the ntdll.dll with Dependancy Walker 2.1 and noticed a serious of API's (or exported functions) that directly match each of the FPU assembly instructions and was wondering why is it there, does Windows use it internally instead of the direct ASM instruction? Or for compatibility on older hardware (perhaps when NT was new)?

In the MASM Programmers Guide there is a section on the FPU and it made slight illusion to a command for MASM that compiles with FP emulation. Would that cause it to link to these emulated instructions or does MS have another FPU emulator included with MASM?


Thanks,
_Shawn
Posted on 2003-08-29 00:37:28 by _Shawn
Could have been added for the FPU with the flaw. I remember that in early Pentiums there was a serious flaw in the FPU and I think you could just check a box that would emulate it.
Posted on 2003-08-29 01:06:08 by donkey
ahh yes it had something to do with deviding 0 with 0 would lock up and reboot the system lol... im sure there were others also..
Posted on 2003-08-29 03:17:14 by devilsclaw
Wasn't it a precision bug -- the result was incorrect. The F00F bug howerver lock the CPU (due to two locks -- locks the CPU in it's attempt to recover from the first error (the f00f-bug is two errors in one)).
haven't hear of the 0/0 bug though.
Posted on 2003-08-29 04:29:30 by scientica