All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andre McCurdy <armccurdy@gmail.com>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] arch-armv7a.inc: default to Thumb2 instruction set for armv7a and above
Date: Tue, 26 Jun 2018 12:52:19 -0700	[thread overview]
Message-ID: <CAJ86T=Uf1Kf3nRZVhU8uKx-7ecDeWTRomc3+upVjwwSwxrcZWg@mail.gmail.com> (raw)
In-Reply-To: <CAJ86T=XEw_E3kRzzYB0xdS0-Dxxj+qTkKdQGCxmMtYrj6sairw@mail.gmail.com>

On Mon, Jun 4, 2018 at 2:33 PM, Andre McCurdy <armccurdy@gmail.com> wrote:
> On Tue, May 22, 2018 at 3:33 AM, Khem Raj <raj.khem@gmail.com> wrote:
>> On Tue, May 22, 2018 at 5:58 AM,  <Jef.Driesen@niko.eu> wrote:
>>> Andre McCurdy wrote:
>>>> Although there may still be specific cases which can benefit from the
>>>> ARM instruction set, the Thumb2 instruction set is generally a better
>>>> default for armv7a class CPUs. Distros such as Debian and Fedora have
>>>> been targeting Thumb2 by default for some time.
>>>>
>>>> Note that setting ARM_INSTRUCTION_SET has no effect unless
>>>> TUNE_FEATURES contains "thumb" (which is controlled by the "t" suffix
>>>> in DEFAULTTUNE, e.g. armv7vehf-neon -vs- armv7vethf-neon, etc) so out
>>>> of tree machine configs may need to update their DEFAULTTUNE to take
>>>> advantage of this change.
>>>
>>> I recently ran into some major problems due to thumb vs arm. It turns out glibc doesn't support systems with thumb disabled anymore. See this bug report for details:
>>>
>>> https://sourceware.org/bugzilla/show_bug.cgi?id=23031
>>>
>>> This might be useful input for this discussion also.
>>>
>
> Thanks to everyone for the feedback!
>
> I've reviewed Martin's examples of distros which control
> ARM_INSTRUCTION_SET and don't see anything which would conflict with
> this patch.
>
> I've also reviewed the glibc bug (Thumb2 instructions used in glibc
> even when glibc is compiled for ARM) and it's a positive in this
> discussion. It means that anyone running without Thumb support enabled
> in their kernel will already have run into issues simply by using
> glibc in rocko. The glibc bug has therefore "cleaned the pipes" for a
> more formal switch to using Thumb2 instructions in user space.
>
> So, unless there's any further feedback, I think this patch is ready to merge.

Ping.

Richard, Ross, please let me know if anything else needs to be done
before merging this update.


  reply	other threads:[~2018-06-26 19:52 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-22  9:58 [PATCH] arch-armv7a.inc: default to Thumb2 instruction set for armv7a and above Jef.Driesen
2018-05-22 10:33 ` Khem Raj
2018-06-04 21:33   ` Andre McCurdy
2018-06-26 19:52     ` Andre McCurdy [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-05-18 22:50 Andre McCurdy
2018-05-18 23:40 ` Khem Raj
2018-05-19  5:42   ` Martin Jansa
2018-05-19  6:48     ` Andre McCurdy
2018-05-19  7:11       ` Martin Jansa
2018-05-19  7:31         ` Andre McCurdy
2018-05-19  7:41           ` Martin Jansa
2018-05-21 17:15             ` Andre McCurdy

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='CAJ86T=Uf1Kf3nRZVhU8uKx-7ecDeWTRomc3+upVjwwSwxrcZWg@mail.gmail.com' \
    --to=armccurdy@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 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.