public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
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 09:42:42 +0100	[thread overview]
Message-ID: <20110220084242.B9AC11468BF@gemini.denx.de> (raw)
In-Reply-To: <1298171532-5296-1-git-send-email-holler@ahsoftware.de>

Dear Alexander Holler,

In message <1298171532-5296-1-git-send-email-holler@ahsoftware.de> you wrote:
> Without -msoft-float the compiler would be allowed to use certain
> floating-point instructions (VFP/NEON) e.g. for optimizations, which
> would require additional code, for example to save contexts for
> interrupts. Add a comment which describes this in short words.

Hm... why do you see a need to explain this for ARM, but not so for
the other architectrures, say for PowerPC?

If you really want to add this, then it should probably be somewhere
in the REAME or another central place of documentation (instead of
distributed over tons of Makefiles), and to make your message
understood you might want to add "additional code" may mean that
additional function blocks in the respective SoC may need to be
initialized and, for example, clocked, which may for example
significantly increase the power dissipation of the system.

> +# -msoft-float forces the compiler to not use any fp-related instructions.

Well, now this is a commonplace that says about nothing and can be
leftout as well.

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
"How is this place run - is it an anarchy?"
"No, I wouldn't say so; it is not that well organised..."

  reply	other threads:[~2011-02-20  8:42 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 [this message]
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
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=20110220084242.B9AC11468BF@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