From: Jerry Van Baren <gerald.vanbaren@smiths-aerospace.com>
To: linuxppc-embedded@lists.linuxppc.org
Subject: Re: mpc8241/8245 floating point unit
Date: Tue, 04 Mar 2003 06:40:51 -0500 [thread overview]
Message-ID: <5.1.0.14.2.20030304062954.0261de18@falcon.si.com> (raw)
In-Reply-To: <00018963.C22236@avantwave.com>
I don't have 8241/8245 experience, but I do have 8260 experience (also uses
the 603e core). Floating point (FPU) works well under linux.
Using floating point in the kernel is severely frowned on, however, because
it takes time, both for the calculations and for additional FPU register
store/restore operations (big speed hit). IIRC, you need to specially
configure the kernel or modify the kernel because the kernel assumes it
does NOT execute floating point instructions internally and therefore
doesn't save/restore the FPU registers for its internal use (i.e. the
kernel context does not have FPU registers saved/restored, user contexts do
have FPU registers saved/restored). You don't want to go there unless you
really, really have to and if you think about the problem a bit, I suspect
you will discover you don't have to.
Pretty much any fairly recent gcc compiler should work.
For a very good head start in configuring your environment, see Wolfgang
Denk's Embedded Linux Development Kit (ELDK).
http://www.denx.de/e/index1.php?main=doc/ELDK/index
gvb
At 09:38 AM 3/4/2003 -0500, ivancheng@avantwave.com wrote:
>Hi,
>
> We are evaluating the mpc8241/8245 on the floating point unit. For they
>are based on the 603e core, there is a hardware floating point support. And
>we are going to cross-compile the kernel and apps in intel platform. I am
>very interested to know
>
>- whether the FPU is supported in the linux distribution in both user/kernel
>mode.
>- If so, how should I compile for the applicaiton/driver with gcc?
>- , and in which version of gcc does it support?
>
>Thanks very much for any comments.
>
>Ivan Cheng
>
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next parent reply other threads:[~2003-03-04 11:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <00018963.C22236@avantwave.com>
2003-03-04 11:40 ` Jerry Van Baren [this message]
2003-03-05 11:23 ` mpc8241/8245 floating point unit Jan Damborsky
2003-03-05 17:28 ` Dan Malek
2003-03-06 16:59 ` Jan Damborsky
2003-03-06 20:12 ` Dan Malek
[not found] <00019598.C22236@devcom.cz>
2003-03-05 18:12 ` Jerry Van Baren
2003-03-05 18:53 ` Dan Malek
2003-03-04 1:38 Ivan Cheng
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=5.1.0.14.2.20030304062954.0261de18@falcon.si.com \
--to=gerald.vanbaren@smiths-aerospace.com \
--cc=linuxppc-embedded@lists.linuxppc.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).