On Fri, Dec 24, 2021 at 06:05:18PM +0800, Kevin Hao wrote:
> This adds the support for the Neoverse N2 core, even though the
> Neoverse N2 core implements the Arm v9.0-A architecture, but the support
> of it in GCC is based on the Arm v8.5-A architecture. Please see the
> commit 50d9db203bc3 ("aarch64: Add support for Neoverse N2 CPU") in GCC
> for more detail.Ping. Thanks, Kevin > > Signed-off-by: Kevin Hao <[email protected]> > --- > .../include/arm/armv9a/tune-neoversen2.inc | 22 +++++++++++++++++++ > 1 file changed, 22 insertions(+) > create mode 100644 meta/conf/machine/include/arm/armv9a/tune-neoversen2.inc > > diff --git a/meta/conf/machine/include/arm/armv9a/tune-neoversen2.inc > b/meta/conf/machine/include/arm/armv9a/tune-neoversen2.inc > new file mode 100644 > index 000000000000..36355f7bedb0 > --- /dev/null > +++ b/meta/conf/machine/include/arm/armv9a/tune-neoversen2.inc > @@ -0,0 +1,22 @@ > +# > +# Tune Settings for Neoverse-N2 > +# > +DEFAULTTUNE ?= "neoversen2" > + > +TUNEVALID[neoversen2] = "Enable Neoverse-N2 specific processor optimizations" > +TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'neoversen2', ' > -mcpu=neoverse-n2', '', d)}" > + > +# Even though the Neoverse N2 core implemnts the Arm v9.0-A architecture, > +# but the support of it in GCC is based on the Arm v8.5-A architecture. > +require conf/machine/include/arm/arch-armv8-5a.inc > + > +# Little Endian base configs > +AVAILTUNES += "neoversen2 > neoversen2-crypto" > +ARMPKGARCH:tune-neoversen2 = "neoversen2" > +ARMPKGARCH:tune-neoversen2-crypto = "neoversen2-crypto" > +TUNE_FEATURES:tune-neoversen2 = > "${TUNE_FEATURES:tune-armv8-5a} neoversen2" > +TUNE_FEATURES:tune-neoversen2-crypto = > "${TUNE_FEATURES:tune-neoversen2} crypto" > +PACKAGE_EXTRA_ARCHS:tune-neoversen2 = > "${PACKAGE_EXTRA_ARCHS:tune-armv8-5a} neoversen2" > +PACKAGE_EXTRA_ARCHS:tune-neoversen2-crypto = > "${PACKAGE_EXTRA_ARCHS:tune-armv8-5a-crypto} neoversen2 neoversen2-crypto" > +BASE_LIB:tune-neoversen2 = "lib64" > +BASE_LIB:tune-neoversen2-crypto = "lib64" > -- > 2.31.1 > > > >
signature.asc
Description: PGP signature
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#160478): https://lists.openembedded.org/g/openembedded-core/message/160478 Mute This Topic: https://lists.openembedded.org/mt/88365666/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
