linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: rkiyerpersonal@gmail.com (Rajanikanth H.V)
To: linux-arm-kernel@lists.infradead.org
Subject: Query about Float Point Operation
Date: Mon, 29 Mar 2010 10:52:50 +0530	[thread overview]
Message-ID: <d82162471003282222q5e463306rd385c3ed54879e4d@mail.gmail.com> (raw)
In-Reply-To: <tencent_1612D48D0AEC89DB53D9FFBB@qq.com>

2010/3/23 ??? <914059751@qq.com>:
> 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!
I do not know how are you compiling the required function.
Use hardware floating point support. If your target SOC support.
Also verify whether Floating Point Emulation -> VFP is enabled in your config.

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

  parent reply	other threads:[~2010-03-29  5:22 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-23 12:57 Query about Float Point Operation 胡杨树
2010-03-23 13:34 ` Måns Rullgård
2010-03-29  5:22 ` Rajanikanth H.V [this message]
2010-03-29  8:11   ` Russell King - ARM Linux
2010-03-29  8:19   ` 答复: " rocky
2010-03-29 10:59   ` Martin Guy
  -- strict thread matches above, loose matches on Subject: below --
2010-03-23 13:41 胡杨树
2010-03-28 21:47 ` Jamie Lokier
2010-03-28 23:34 ` Nicolas Pitre

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=d82162471003282222q5e463306rd385c3ed54879e4d@mail.gmail.com \
    --to=rkiyerpersonal@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).