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: prevent using movt/movw address loads
Date: Tue, 17 Sep 2013 12:19:32 +0200	[thread overview]
Message-ID: <20130917101932.32D8438043B@gemini.denx.de> (raw)
In-Reply-To: <FE7ADED5C2218B4786C09CD97DC4C49FA88EDF@exchbj02.viatech.com.bj>

Dear TigerLiu at viatech.com.cn,

In message <FE7ADED5C2218B4786C09CD97DC4C49FA88EDF@exchbj02.viatech.com.bj> you wrote:
>
> >May I ask why you want to use other optimization levels?  Do you just
> >hope that your code may run faster, or do you have actual proof (i. e.
> >measurements) that this is the case?  It would be interesting if you
> >could share any such measured results.
> 
> Not for running faster.
> I just think:
> If turn off compiler optimization, some bugs would be analysed easily.

Hm... that does not match my experience.  A pretty large percentage of
actual bugs is of Heisenbug nature.  Changin the buil environment will
create a completely different image with different behaviour - you may
be lucky, but too often the changes actually side-track you from the
actual issues.

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
Pig: An animal (Porcus omnivorous) closely allied to the  human  race
by  the splendor and vivacity of its appetite, which, however, is in-
ferior in scope, for it balks at pig.                - Ambrose Bierce

  reply	other threads:[~2013-09-17 10:19 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-17  8:01 [U-Boot] [PATCH] arm: prevent using movt/movw address loads TigerLiu at viatech.com.cn
2013-09-17  8:35 ` Wolfgang Denk
2013-09-17  9:26   ` TigerLiu at viatech.com.cn
2013-09-17 10:19     ` Wolfgang Denk [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-08-24 11:55 Jeroen Hofstee
2013-09-17 10:44 ` TigerLiu at viatech.com.cn
2013-09-17 18:34   ` Jeroen Hofstee
2013-09-19 21:16 ` Tom Rini
2013-09-20 17:15   ` Jeroen Hofstee
2013-09-20 18:03     ` Tom Rini
2013-09-21  2:43 ` Simon Glass
2013-09-23 13:48 ` Albert ARIBAUD

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=20130917101932.32D8438043B@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