From: Jiri Slaby <jirislaby@gmail.com>
To: Arjan van de Ven <arjan@infradead.org>
Cc: Avi Kivity <avi@argo.co.il>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: FP in kernelspace
Date: Sun, 30 Jul 2006 17:08:13 +0159 [thread overview]
Message-ID: <44CCCB74.9010605@gmail.com> (raw)
In-Reply-To: <1154271283.2941.27.camel@laptopd505.fenrus.org>
Arjan van de Ven wrote:
>>> So 2 questions are:
>>> 1) howto FP in kernel
>>>
>> kernel_fpu_begin();
>> c = d * 3.14;
>> kernel_fpu_end();
Yup, I know about this possibility, but this is only x86 specific?!
> unfortunately this only works for MMX not for real fpu (due to exception
> handling uglies)
concludes it's not multiplatform at all... For that reasen I (maybe) want some
"protocol" for communication with US, where I can easily compute it.
Another way could be rtai (there is FP implemented IIRC), but it means having
out-of-kernel driver.
thanks,
--
<a href="http://www.fi.muni.cz/~xslaby/">Jiri Slaby</a>
faculty of informatics, masaryk university, brno, cz
e-mail: jirislaby gmail com, gpg pubkey fingerprint:
B674 9967 0407 CE62 ACC8 22A0 32CC 55C3 39D4 7A7E
next prev parent reply other threads:[~2006-07-30 15:08 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-30 11:28 FP in kernelspace Jiri Slaby
2006-07-30 11:31 ` Jiri Slaby
2006-07-30 14:32 ` Arjan van de Ven
2006-07-30 14:40 ` Avi Kivity
2006-07-30 14:54 ` Arjan van de Ven
2006-07-30 15:09 ` Jiri Slaby [this message]
2006-07-30 15:20 ` Arjan van de Ven
2006-07-30 15:23 ` Avi Kivity
2006-07-30 15:21 ` Avi Kivity
2006-07-30 17:34 ` Andi Kleen
2006-07-30 18:11 ` Avi Kivity
2006-07-30 18:15 ` Andi Kleen
2006-07-30 18:30 ` Avi Kivity
2006-07-30 18:17 ` Jan Engelhardt
2006-07-30 17:33 ` Andi Kleen
2006-07-30 18:18 ` Jan Engelhardt
2006-07-30 18:28 ` Avi Kivity
2006-07-30 23:11 ` Jan Engelhardt
2006-07-30 17:32 ` Andi Kleen
2006-07-31 0:33 ` Steven Rostedt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44CCCB74.9010605@gmail.com \
--to=jirislaby@gmail.com \
--cc=arjan@infradead.org \
--cc=avi@argo.co.il \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox