linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Kernel Driver with floats.
@ 2003-09-25  8:45 Christophe.LINDHEIMER
  2003-09-25  9:06 ` Wolfgang Grandegger
  0 siblings, 1 reply; 3+ messages in thread
From: Christophe.LINDHEIMER @ 2003-09-25  8:45 UTC (permalink / raw)
  To: linuxppc-embedded


Hi.

I would like to know if it is possible to use floats in a kernel driver.
I use a MPC860.
I get unresolved symbols with the standard makefile.
Are there special options to use ?
Any lib to add ?

Thanks

Chris


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: Kernel Driver with floats.
  2003-09-25  8:45 Kernel Driver with floats Christophe.LINDHEIMER
@ 2003-09-25  9:06 ` Wolfgang Grandegger
  0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Grandegger @ 2003-09-25  9:06 UTC (permalink / raw)
  To: Christophe.LINDHEIMER; +Cc: linuxppc-embedded


On 09/25/2003 10:45 AM Christophe.LINDHEIMER@fr.thalesgroup.com wrote:
> Hi.
>
> I would like to know if it is possible to use floats in a kernel driver.
> I use a MPC860.
> I get unresolved symbols with the standard makefile.
> Are there special options to use ?
> Any lib to add ?

We have a demo module for RTAI using soft-floats on MPC 8xx at
ftp://ftp.denx.de/pub/RTAI/contrib/fp_ppc_8xx.tar.bz2. There is a README
inside. But be aware that soft-float on the 860 is very slow, especially
when you do complex FP math like sin() etc.

Wolfgang.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* RE: Kernel Driver with floats.
@ 2003-09-25 13:23 Christophe.LINDHEIMER
  0 siblings, 0 replies; 3+ messages in thread
From: Christophe.LINDHEIMER @ 2003-09-25 13:23 UTC (permalink / raw)
  To: wolfgang.grandegger, Christophe.LINDHEIMER; +Cc: linuxppc-embedded


Ok

Thank you, it seems it compiles much better now !

Regards

Chris


> -----Message d'origine-----
> De : Wolfgang Grandegger [mailto:wolfgang.grandegger@bluewin.ch]
> Envoye : jeudi 25 septembre 2003 11:07
> A : Christophe.LINDHEIMER@fr.thalesgroup.com
> Cc : linuxppc-embedded@lists.linuxppc.org
> Objet : Re: Kernel Driver with floats.
>
>
> On 09/25/2003 10:45 AM Christophe.LINDHEIMER@fr.thalesgroup.com wrote:
> > Hi.
> >
> > I would like to know if it is possible to use floats in a
> kernel driver.
> > I use a MPC860.
> > I get unresolved symbols with the standard makefile.
> > Are there special options to use ?
> > Any lib to add ?
>
> We have a demo module for RTAI using soft-floats on MPC 8xx at
> ftp://ftp.denx.de/pub/RTAI/contrib/fp_ppc_8xx.tar.bz2. There
> is a README
> inside. But be aware that soft-float on the 860 is very slow,
> especially
> when you do complex FP math like sin() etc.
>
> Wolfgang.
>

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2003-09-25 13:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-25  8:45 Kernel Driver with floats Christophe.LINDHEIMER
2003-09-25  9:06 ` Wolfgang Grandegger
  -- strict thread matches above, loose matches on Subject: below --
2003-09-25 13:23 Christophe.LINDHEIMER

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).