1# 2# Tune Settings for Neoverse-N2 3# 4DEFAULTTUNE ?= "neoversen2" 5 6TUNEVALID[neoversen2] = "Enable Neoverse-N2 specific processor optimizations" 7TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'neoversen2', ' -mcpu=neoverse-n2', '', d)}" 8 9# Even though the Neoverse N2 core implemnts the Arm v9.0-A architecture, 10# but the support of it in GCC is based on the Arm v8.5-A architecture. 11require conf/machine/include/arm/arch-armv8-5a.inc 12 13# Little Endian base configs 14AVAILTUNES += "neoversen2 neoversen2-crypto" 15ARMPKGARCH:tune-neoversen2 = "neoversen2" 16ARMPKGARCH:tune-neoversen2-crypto = "neoversen2-crypto" 17TUNE_FEATURES:tune-neoversen2 = "${TUNE_FEATURES:tune-armv8-5a} neoversen2" 18TUNE_FEATURES:tune-neoversen2-crypto = "${TUNE_FEATURES:tune-neoversen2} crypto" 19PACKAGE_EXTRA_ARCHS:tune-neoversen2 = "${PACKAGE_EXTRA_ARCHS:tune-armv8-5a} neoversen2" 20PACKAGE_EXTRA_ARCHS:tune-neoversen2-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv8-5a-crypto} neoversen2 neoversen2-crypto" 21BASE_LIB:tune-neoversen2 = "lib64" 22BASE_LIB:tune-neoversen2-crypto = "lib64" 23