Linux and FPU
Hello,
Can somebody point me to some general places, where I can look on how FPU support is implemented. I understand that there is not one place, where things done, the only I know, that there should be places for detecting FPU hardware and places with assembly routines for pushing around floating point registers, assembly/C-hybrid code for handling floating point exceptions. I'm interesting mostly in x86 (386) things, not other architectures.
If you know some good docs, please point me to them.
P.S. Sorry if it's a wrong list to ask such questions.
Signature · 2 lines
Best regards, Evgeniy. Key Fingerprint: F316B5A1F6D2054FCD18B74A95400ABB1FE567A3
Quoted 6 lines · Evgeniy Ivanov
Hello,
Can somebody point me to some general places, where I can look on how FPU support is implemented. I understand that there is not one place, where things done, the only I know, that there should be places for detecting FPU hardware and places with assembly routines for pushing around floating point registers,
I think you want to start witharch/x86/kernel/i387.carch/x86/math-emu/
Quoted 1 line
assembly/C-hybrid code for handling floating point exceptions.
and arch/x86/kernel/traps.c