From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] ARM: Add comments why -msoft-float is used.
Date: Sun, 20 Feb 2011 11:20:07 +0100 [thread overview]
Message-ID: <20110220102007.CD20E14F31A@gemini.denx.de> (raw)
In-Reply-To: <4D60E16E.1060406@ahsoftware.de>
Dear Alexander Holler,
In message <4D60E16E.1060406@ahsoftware.de> you wrote:
>
> I don't know how other the compiler behaves for other architectures and
> if those are having the need to save fp-contexts for irqs.
I thought I had explained this again in recent postings, not to
mention the times I did that before; you probably can find this in the
archives.
> # -msoft-float forces the compiler to avoid any fp-related instructions
> for optimizations.
>
> Would that be better?
No, not at all, because the only additional information about what
-msoft-float does (not using FP instructions) in the "for
optimizations" part - but that does not help much if you don;t have
the background we discussed here again.
So if you want to document this, then please provide a more complete
explanation about the reasons for using -msoft-float, summarizing the
recent discussion.
Keep in mind that it does not only apply to ARM Makefiles, but to all
other architectures as well. And instead of adding it to all ~30
affected files (which also gives no guarantee that it will be
documented in any newly created config.mk files), please add it to
some central doc file - either to the README, or feel free to create
a doc/README.toolchain or similar that can then also be used to
document things like linker options, information about known issues,
etc.
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 at denx.de
Remember, an int is not always 16 bits. I'm not sure, but if the
80386 is one step closer to Intel's slugfest with the CPU curve that
is aymptotically approaching a real machine, perhaps an int has been
implemented as 32 bits by some Unix vendors...? - Derek Terveer
next prev parent reply other threads:[~2011-02-20 10:20 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-20 3:12 [U-Boot] [PATCH] ARM: Add comments why -msoft-float is used Alexander Holler
2011-02-20 8:42 ` Wolfgang Denk
2011-02-20 9:39 ` Alexander Holler
2011-02-20 9:52 ` Alexander Holler
2011-02-20 10:05 ` Alexander Holler
2011-02-20 10:20 ` Wolfgang Denk [this message]
2011-02-20 15:43 ` Eric Cooper
2011-02-20 18:57 ` Alexander Holler
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=20110220102007.CD20E14F31A@gemini.denx.de \
--to=wd@denx.de \
--cc=u-boot@lists.denx.de \
/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