Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Phil Blundell <philb@gnu.org>
To: Martin Jansa <martin.jansa@gmail.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: qemuarm: should it really have TUNE_ARCH armv5te?
Date: Tue, 11 Sep 2012 17:46:12 +0100	[thread overview]
Message-ID: <1347381972.29443.15.camel@x121e.pbcl.net> (raw)
In-Reply-To: <20120911130155.GC14077@jama.jama.net>

On Tue, 2012-09-11 at 15:01 +0200, Martin Jansa wrote:
> Shouldn't spitz produce something like armv5te-xscale and qemuarm armv5te-arm926ejs?

That's a DISTRO policy decision really.

"armv5te", in common with most of the PACKAGE_ARCHes, represents an ISA.
That is, it is guaranteed to only contain instructions which are
supported by all v5TE cores (which includes both ARM926EJ-S and XScale).
It obviously follows from this that packages with PACKAGE_ARCH=armv5te
are suitable for running on both qemuarm and xscale MACHINEs.

Note that a binary that was built with -mtune=arm926ej-s is still an
ARMv5TE binary and will run just fine on xscale.  It won't run quite as
fast as one that was built -mtune=xscale, though the performance
difference is not so great as to be completely crippling.  With current
gcc, the reverse is true as well: a binary built -mtune=xscale is also
still ARMv5TE and will run just fine on ARM926EJ-S, and in fact the
performance penalty is less this way around.

Now, if your DISTRO feels that the performance difference is important
enough to be worth distinguishing the packages, you can certainly
arrange for those two tunings to get separate PACKAGE_ARCHes and
maintain parallel feeds.  But in the general case it's not totally
obvious that this would be worthwhile, and I'm not sure it is a very
useful thing to do by default.

p.





  parent reply	other threads:[~2012-09-11 17:00 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-11 13:01 qemuarm: should it really have TUNE_ARCH armv5te? Martin Jansa
2012-09-11 13:48 ` Martin Jansa
2012-09-11 15:51   ` ARM-tuning -- was " Mark Hatle
2012-09-11 15:59     ` Martin Jansa
2012-09-11 16:09       ` Mark Hatle
2012-09-11 16:22         ` Martin Jansa
2012-09-11 16:13     ` Koen Kooi
2012-09-11 18:40       ` Khem Raj
2012-09-11 18:53         ` Phil Blundell
2012-09-11 19:58           ` Khem Raj
2012-09-11 16:46 ` Phil Blundell [this message]
2012-09-11 16:53   ` Martin Jansa
2012-09-11 17:14     ` Phil Blundell
2012-09-11 17:21       ` Martin Jansa
2012-09-11 17:35         ` Martin Jansa
2012-09-11 17:37           ` Phil Blundell
2012-09-11 17:43             ` Martin Jansa
2012-09-11 18:00               ` Mark Hatle
2012-09-12 14:33 ` Richard Purdie
2012-09-13  6:20   ` Martin Jansa
2012-09-13 10:42     ` Richard Purdie
2012-09-13 12:14       ` Martin Jansa
2012-09-13 12:58         ` Richard Purdie
2012-09-15  7:01           ` Martin Jansa
2012-09-21 15:52             ` Martin Jansa
2012-09-22 11:48               ` Richard Purdie
2012-09-13 16:47       ` Mark Hatle
2012-09-13 17:02         ` Phil Blundell

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=1347381972.29443.15.camel@x121e.pbcl.net \
    --to=philb@gnu.org \
    --cc=martin.jansa@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /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