From: Alexander Holler <holler@ahsoftware.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] ARM: Add comments why -msoft-float is used.
Date: Sun, 20 Feb 2011 10:39:58 +0100 [thread overview]
Message-ID: <4D60E16E.1060406@ahsoftware.de> (raw)
In-Reply-To: <20110220084242.B9AC11468BF@gemini.denx.de>
Am 20.02.2011 09:42, schrieb Wolfgang Denk:
> 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?
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.
>
> 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
I prefer comments where they are usefull. Hiding them somewhere is useless.
> 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.
# -msoft-float forces the compiler to avoid any fp-related instructions
for optimizations.
Would that be better?
Regards,
Alexander
next prev parent reply other threads:[~2011-02-20 9:39 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 [this message]
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=4D60E16E.1060406@ahsoftware.de \
--to=holler@ahsoftware.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.