NASM - The Netwide Assembler

NASM Forum => Other Discussion => Topic started by: debs3759 on September 04, 2016, 07:01:13 PM

Title: Detecting what FPU is in an alder system? Also speed checking.
Post by: debs3759 on September 04, 2016, 07:01:13 PM
Does anyone know any good resources for info or example code on how to detect what external FPU is in a system with a 486SX or earlier CPU?

I can detect the presence of an FPU, just can't so far detect what FPU it is. I'm rewriting my old CPUID code, which can detect pretty much any x86 processor and would like to add FPU detection code.

I would also like examples of how to determine the internal clock speeds of the CPU (there must be an easier way than seeing how many times I can run an instruction, especially on newer processors). I can probably work this one out, but sample code will make it easier :)
Title: Re: Detecting what FPU is in an alder system? Also speed checking.
Post by: debs3759 on September 15, 2016, 10:32:17 AM
It took a while but I found some code examples to do what I want.