]> code.ossystems Code Review - openembedded-core.git/commit
arch-armv7a.inc: default to Thumb2 instruction set for armv7a and above
authorAndre McCurdy <armccurdy@gmail.com>
Fri, 18 May 2018 22:50:40 +0000 (15:50 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 28 Jun 2018 08:22:30 +0000 (09:22 +0100)
commitc88304a78e528596ca481cabe273749c286c352a
tree40ccd0f6903777befc61bba063631c7faea186ad
parent21d015f6c9927598d64c48c925638619b25cf232
arch-armv7a.inc: default to Thumb2 instruction set for armv7a and above

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.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/machine/include/arm/arch-armv7a.inc