lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 30 Jul 2006 17:08:13 +0159
From:	Jiri Slaby <jirislaby@...il.com>
To:	Arjan van de Ven <arjan@...radead.org>
CC:	Avi Kivity <avi@...o.co.il>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: FP in kernelspace

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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ