All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Cc: "OE Core \(openembedded-core@lists.openembedded.org\)"
	<openembedded-core@lists.openembedded.org>
Subject: Re: Can't build product that uses DEFAULTTUNE="arm926ejs"
Date: Sat, 16 Mar 2019 12:45:52 +0200	[thread overview]
Message-ID: <20190316104552.GC19622@localhost> (raw)
In-Reply-To: <395432d08f074e08aafc06ed5d2e4610@XBOX04.axis.com>

On Sat, Mar 16, 2019 at 09:21:57AM +0000, Peter Kjellerstedt wrote:
> 
> While I agree that your patch will solve the problem with arm926ejs, I 
> believe there are advantages in applying my patches instead. In addition 
> to fixing the problem with arm926ejs, my patches (patch set 4, not patch 
> set 2 that is currently on master-next) also:
> 
> * make it so that there is no change to TUNE_FEATURES,
> * make it explicit whether -mcpu or -march is used, and
> * make the extra arguments added to -mcpu or -march for armv8 explicit.
> 
> That last point was something that confused me when I read the original 
> tune files. I did not realize that those extra features were added to 
> whatever -mcpu or -march happened to be added to TUNE_CCARGS before the 
> arch-armv8a.inc file was included (especially as it was written to make 
> it look as they were only added to the -march option).

For armv8 a larger redesign is actually required - it doesn't scale
to have variables like TUNE_FEATURES_tune-armv8a-crc-crypto with
160k possible combinations[1] in gcc 8.

> //Peter

cu
Adrian

[1] target architectures 8.0-8.4 and 15 feature modifiers

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed



      reply	other threads:[~2019-03-16 10:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-11  4:20 Can't build product that uses DEFAULTTUNE="arm926ejs" Peter Kjellerstedt
2019-03-11  4:23 ` Khem Raj
2019-03-11 13:49   ` Peter Kjellerstedt
2019-03-15  5:08     ` Khem Raj
2019-03-16  9:21       ` Peter Kjellerstedt
2019-03-16 10:45         ` Adrian Bunk [this message]

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=20190316104552.GC19622@localhost \
    --to=bunk@stusta.de \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=peter.kjellerstedt@axis.com \
    /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.