From: Wolfgang Denk <wd@denx.de>
To: Joakim Tjernlund <joakim.tjernlund@transmode.se>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: Mixing hard and soft floating point?
Date: Sat, 17 Oct 2009 20:12:24 +0200 [thread overview]
Message-ID: <20091017181224.97FFBF15432@gemini.denx.de> (raw)
In-Reply-To: <OFC920E57F.DFABC29F-ONC1257652.00421E11-C1257652.0043478A@transmode.se>
Dear Joakim Tjernlund,
In message <OFC920E57F.DFABC29F-ONC1257652.00421E11-C1257652.0043478A@transmode.se> you wrote:
>
> Anyone tried mixing hard and soft FP in on soft float CPU such as 83xx?
Hm... most 83xx have a FPU.
> Been trying to figure out if this is a good idea or not.
> Any combinations that will or won't work?
What exactly do you mean by "mixing"? You cannot (at least not with
any reasonable effort) mix hard and soft FP in the same application /
linked object. And it would be pretty difficult to setup separate
libraries for and all that stuff for both hard and soft FP binaries
in one system.
I doubt if such a setup makes sense at all.
> Generally I got soft FP in all system libs but there might be
> an binary application which will use hard FP.
Recompile and relink it with soft-fp as well. Or ask the provider to
do that.
> Is the MATH_EMU option in the kernel reliable(for 8xx too)?
It's reliable enough to install and run standard distributions like
Debian, Ubuntu, or Fedora, but I have to admit that we haven't stress
tested any special FP test suites in such an environment. In everyday
use I didn't see any real issues, though.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
If I can have honesty, it's easier to overlook mistakes.
-- Kirk, "Space Seed", stardate 3141.9
next prev parent reply other threads:[~2009-10-17 18:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-17 12:14 Mixing hard and soft floating point? Joakim Tjernlund
2009-10-17 18:12 ` Wolfgang Denk [this message]
2009-10-17 18:24 ` Joakim Tjernlund
2009-10-17 19:34 ` Wolfgang Denk
2009-10-18 11:28 ` Joakim Tjernlund
2009-10-18 13:10 ` Wolfgang Denk
2009-10-19 0:57 ` Peter Bergner
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=20091017181224.97FFBF15432@gemini.denx.de \
--to=wd@denx.de \
--cc=joakim.tjernlund@transmode.se \
--cc=linuxppc-dev@ozlabs.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).