public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Linux and FPU
@ 2009-03-25 11:09 Evgeniy Ivanov
  2009-03-25 21:54 ` Jiri Slaby
  0 siblings, 1 reply; 2+ messages in thread
From: Evgeniy Ivanov @ 2009-03-25 11:09 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 670 bytes --]

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.


-- 
Best regards, Evgeniy.
Key Fingerprint: F316B5A1F6D2054FCD18B74A95400ABB1FE567A3


[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Linux and FPU
  2009-03-25 11:09 Linux and FPU Evgeniy Ivanov
@ 2009-03-25 21:54 ` Jiri Slaby
  0 siblings, 0 replies; 2+ messages in thread
From: Jiri Slaby @ 2009-03-25 21:54 UTC (permalink / raw)
  To: Evgeniy Ivanov; +Cc: linux-kernel

On 03/25/2009 12:09 PM, Evgeniy Ivanov wrote:
> 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 with
arch/x86/kernel/i387.c
arch/x86/math-emu/

> assembly/C-hybrid code for handling floating point exceptions.

and arch/x86/kernel/traps.c


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-25 21:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-25 11:09 Linux and FPU Evgeniy Ivanov
2009-03-25 21:54 ` Jiri Slaby

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox