Re: Using floating point calculations in kernel module (x86/amd64)
Wilfried Holzke <[email protected]> Tue, 18 Oct 2016 19:22:03 +0200
| Newsgroups | gmane.linux.real-time.rtai |
|---|---|
| Message-ID | <[email protected]> |
Hi,
> Even if by the nowadays standard ot seems strange, I suspect that you have no hard floating point support in you processor.
> In fact __adddf3 and __muldf3 seem to be a soft implementation for floating point add and multiply support, while __floatunsidf is related to int to float conversions.
> They are services provided at a very low level, possible at the compiler one.to emulate floating point
> RTAI has found a similar problem in supporting complex math at the kernel level.
> I solved it by using what made available by LLVM.ORG, but the functions I needed rely on the availability of a hard FPU support for add/mul/div. A fact that may the matter far simpler.
> Yours, instead, seem at the core of the basic FPU emulation, which is another matter.
The kernel build system includes building for softfloat. I will try your
suggestions.
Thanks for your informations.
regards
W. Holzke
_______________________________________________
Rtai mailing list
[email protected]
https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai