linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Query about Float Point Operation
@ 2010-03-23 13:41 胡杨树
  2010-03-28 21:47 ` Jamie Lokier
  2010-03-28 23:34 ` Nicolas Pitre
  0 siblings, 2 replies; 8+ messages in thread
From: 胡杨树 @ 2010-03-23 13:41 UTC (permalink / raw)
  To: linux-arm-kernel

WOW
My audio codec drivers use float point operation heavily!
Does that mean that I can ONLY implement it on USER space ?
 
 
------------------ Original ------------------
From:  "M?ns Rullg?rd"<mans@mansr.com>;
Date:  Tue, Mar 23, 2010 09:34 PM
To:  "linux-arm-kernel"<linux-arm-kernel@lists.infradead.org>; 

Subject:  Re: Query about Float Point Operation

 
914059751 at qq.com writes:

> Hi , guys
> I want to do float point operations in kernel like the following,
>
> int foo(double d)
> {
> return (int)d*d;
> }
>
> May I ask any possibility of use float point operation in the kernel space?

Floating-point in the kernel is not allowed.

-- 
M?ns Rullg?rd
mans at mansr.com


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Query about Float Point Operation
@ 2010-03-23 12:57 胡杨树
  2010-03-23 13:34 ` Måns Rullgård
  2010-03-29  5:22 ` Rajanikanth H.V
  0 siblings, 2 replies; 8+ messages in thread
From: 胡杨树 @ 2010-03-23 12:57 UTC (permalink / raw)
  To: linux-arm-kernel

Hi , guys
I want to do float point operations in kernel like the following,

int foo(double d)
{

return (int)d*d;

}

while compiling output error msg like following:
cannt find eabi_dmul  balabla??????

May I ask any possibility of use float point operation in the kernel space?
Any hints/doc would be appreciated!

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

end of thread, other threads:[~2010-03-29 10:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-23 13:41 Query about Float Point Operation 胡杨树
2010-03-28 21:47 ` Jamie Lokier
2010-03-28 23:34 ` Nicolas Pitre
  -- strict thread matches above, loose matches on Subject: below --
2010-03-23 12:57 胡杨树
2010-03-23 13:34 ` Måns Rullgård
2010-03-29  5:22 ` Rajanikanth H.V
2010-03-29  8:11   ` Russell King - ARM Linux
2010-03-29 10:59   ` Martin Guy

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).