From: Mark Hatle <fray@mvista•com>
To: Vishwanath <vishwanath@mistralsoftware•com>
Cc: linuxppc-embedded@lists•linuxppc.org
Subject: Re: Monta Vista Linux Supporting Floating Point operations
Date: Wed, 23 Oct 2002 08:28:35 -0500 [thread overview]
Message-ID: <3DB6A403.2050705@mvista.com> (raw)
In-Reply-To: 002501c27a66$fcc4bd40$faffa8c0@VISHWANATH
Vishwanath wrote:
> Hi All,
>
> I am working on 440GP using Monta Vista Linux 2.1. I need floating point
> operation support (for eg. function sqrt() for calculating square root of
> given float variable) on Linux. I didn't find math emualtion on the Linux.
> Can anyone tell me how can I get floating point support ?
Floating point support in MontaVista Linux is handled by the compiler and _NOT_
the kernel. In architecting our system we have weighed the tradeoffs between
soft-floating point, or hard-floating point using kernel exceptions.
Soft-floating point was found to be superior so we use it on all platforms
without a hardware FPU.
One thing to note, because of this the ABI is slightly different then the
binaries you would download off of a random community website. You need to use
our compiler (or a community compiler configured appropriatly) to build
soft-float. (On a non-MontaVista compiler, you usually need to pass
-msoft-float on the command line to gcc.)
--Mark
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
prev parent reply other threads:[~2002-10-23 13:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-23 7:37 Monta Vista Linux Supporting Floating Point operations Vishwanath
2002-10-23 7:39 ` Eugene Surovegin
2002-10-23 13:28 ` Mark Hatle [this message]
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=3DB6A403.2050705@mvista.com \
--to=fray@mvista$(echo .)com \
--cc=linuxppc-embedded@lists$(echo .)linuxppc.org \
--cc=vishwanath@mistralsoftware$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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