From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Carlos Alberto Lopez Perez <clopez@igalia.com>,
openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] tune-i686: Add new tune for better support of 686-class CPUs.
Date: Thu, 11 Jan 2018 10:29:21 +0000 [thread overview]
Message-ID: <1515666561.29722.115.camel@linuxfoundation.org> (raw)
In-Reply-To: <20180111040858.22280-1-clopez@igalia.com>
On Thu, 2018-01-11 at 05:08 +0100, Carlos Alberto Lopez Perez wrote:
> There isn't currently any tune available for i686 x86 optimizations.
> The tune for i586 doesn't enable i686 specific optimizations, and the
> one for core2 enables things that won't work on a i686 CPU (like
> SSE3).
>
> This patch also changes the default tune for the qemux86 machine from
> i586 to i686. This should cause no issue, as "runqemu qemux86"
> already
> defaults to run with "-cpu pentium2".
>
> The tune for core2 now inherits from this one, which allows to remove
> the override on the X86ARCH32 definition.
>
> Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com>
> ---
> meta/conf/machine/include/tune-core2.inc | 7 ++-----
> meta/conf/machine/include/tune-i686.inc | 25
> +++++++++++++++++++++++++
> meta/conf/machine/qemux86.conf | 2 +-
> 3 files changed, 28 insertions(+), 6 deletions(-)
> create mode 100644 meta/conf/machine/include/tune-i686.inc
Please don't do multiple things in a single commit like this.
The qemux86 default tune change isn't as simple as it might first
appear as it changes the output artefacts which may or may not mean
changes to the testing infrastructure (I'd hope not but I also know the
reality).
Adding the tune itself should be more straightforward.
We do need to keep track of the comment "Set x86 target arch to i686,
so that glibc enables SSE optimised memcpy, etc." as i586 verses i686
does make a significant difference to the glibc config.
Cheers,
Richard
next prev parent reply other threads:[~2018-01-11 10:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-11 4:08 [PATCH] tune-i686: Add new tune for better support of 686-class CPUs Carlos Alberto Lopez Perez
2018-01-11 10:29 ` Richard Purdie [this message]
2018-01-11 13:15 ` Carlos Alberto Lopez Perez
2018-01-15 20:02 ` [PATCH v2] " Carlos Alberto Lopez Perez
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=1515666561.29722.115.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=clopez@igalia.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