* mpc8241/8245 floating point unit
@ 2003-03-04 1:38 Ivan Cheng
0 siblings, 0 replies; 8+ messages in thread
From: Ivan Cheng @ 2003-03-04 1:38 UTC (permalink / raw)
To: linuxppc-embedded
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/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: mpc8241/8245 floating point unit
[not found] <00018963.C22236@avantwave.com>
@ 2003-03-04 11:40 ` Jerry Van Baren
2003-03-05 11:23 ` Jan Damborsky
0 siblings, 1 reply; 8+ messages in thread
From: Jerry Van Baren @ 2003-03-04 11:40 UTC (permalink / raw)
To: linuxppc-embedded
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/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: mpc8241/8245 floating point unit
2003-03-04 11:40 ` Jerry Van Baren
@ 2003-03-05 11:23 ` Jan Damborsky
2003-03-05 17:28 ` Dan Malek
0 siblings, 1 reply; 8+ messages in thread
From: Jan Damborsky @ 2003-03-05 11:23 UTC (permalink / raw)
To: Jerry Van Baren; +Cc: linuxppc-embedded
Jerry Van Baren wrote:
>
> 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.
Does 8260 really have full FPU support ?. I think it only has FPU
register set and it supports
FPU load and store instructions, but NOT arithmetic instructions. Am I
right ?
HANYS
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: mpc8241/8245 floating point unit
2003-03-05 11:23 ` Jan Damborsky
@ 2003-03-05 17:28 ` Dan Malek
2003-03-06 16:59 ` Jan Damborsky
0 siblings, 1 reply; 8+ messages in thread
From: Dan Malek @ 2003-03-05 17:28 UTC (permalink / raw)
To: Jan Damborsky; +Cc: Jerry Van Baren, linuxppc-embedded
Jan Damborsky wrote:
> Does 8260 really have full FPU support ?.
Yes.
-- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: mpc8241/8245 floating point unit
[not found] <00019598.C22236@devcom.cz>
@ 2003-03-05 18:12 ` Jerry Van Baren
2003-03-05 18:53 ` Dan Malek
0 siblings, 1 reply; 8+ messages in thread
From: Jerry Van Baren @ 2003-03-05 18:12 UTC (permalink / raw)
To: linuxppc-embedded
It has always had a FPU. For a while, Mot was not advertising it because
they had not verified that it worked properly, but it is an advertised
feature now. It has always worked.
gvb
At 12:23 PM 3/5/2003 -0500, jan.damborsky@devcom.cz wrote:
>Jerry Van Baren wrote:
>
> >
> > 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.
>
>Does 8260 really have full FPU support ?. I think it only has FPU
>register set and it supports
>FPU load and store instructions, but NOT arithmetic instructions. Am I
>right ?
> HANYS
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: mpc8241/8245 floating point unit
2003-03-05 18:12 ` mpc8241/8245 floating point unit Jerry Van Baren
@ 2003-03-05 18:53 ` Dan Malek
0 siblings, 0 replies; 8+ messages in thread
From: Dan Malek @ 2003-03-05 18:53 UTC (permalink / raw)
To: Jerry Van Baren; +Cc: linuxppc-embedded
Jerry Van Baren wrote:
> It has always had a FPU. For a while, Mot was not advertising it because
> they had not verified that it worked properly,
The story is much more interesting than that :-) You need to find
someone at Motorola that is willing to tell it.
-- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: mpc8241/8245 floating point unit
2003-03-05 17:28 ` Dan Malek
@ 2003-03-06 16:59 ` Jan Damborsky
2003-03-06 20:12 ` Dan Malek
0 siblings, 1 reply; 8+ messages in thread
From: Jan Damborsky @ 2003-03-06 16:59 UTC (permalink / raw)
To: Dan Malek; +Cc: linuxppc-embedded
>
>
>> Does 8260 really have full FPU support ?.
>
>
> Yes.
>
Thank for this information. It is new for me
and important as well.
We are developing new board with 8260,
but we have thought there is only part of FPU
working properly.
Thanks again, HANYS
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: mpc8241/8245 floating point unit
2003-03-06 16:59 ` Jan Damborsky
@ 2003-03-06 20:12 ` Dan Malek
0 siblings, 0 replies; 8+ messages in thread
From: Dan Malek @ 2003-03-06 20:12 UTC (permalink / raw)
To: Jan Damborsky; +Cc: linuxppc-embedded
Jan Damborsky wrote:
> Thank for this information. It is new for me
> and important as well.
> We are developing new board with 8260,
> but we have thought there is only part of FPU
> working properly.
Make sure you are using the latest documentation. There
shouldn't be anything left that indicates the FPU is not
present, but early documention indicated there weren't
FPU features.
Have fun.
-- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2003-03-06 20:12 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <00019598.C22236@devcom.cz>
2003-03-05 18:12 ` mpc8241/8245 floating point unit Jerry Van Baren
2003-03-05 18:53 ` Dan Malek
[not found] <00018963.C22236@avantwave.com>
2003-03-04 11:40 ` Jerry Van Baren
2003-03-05 11:23 ` Jan Damborsky
2003-03-05 17:28 ` Dan Malek
2003-03-06 16:59 ` Jan Damborsky
2003-03-06 20:12 ` Dan Malek
2003-03-04 1:38 Ivan Cheng
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).