blob: 0457c2d9fa815ab4b29b6c7cf52cb0ab1076e682 [file] [log] [blame]
Brad Bishop6e60e8b2018-02-01 10:27:11 -05001DEFAULTTUNE ?= "armv7vethf-neon"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05002
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05003require conf/machine/include/arm/arch-armv7ve.inc
Patrick Williamsc124f4f2015-09-15 14:41:29 -05004
5TUNEVALID[cortexa15] = "Enable Cortex-A15 specific processor optimizations"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05006TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexa15', ' -mcpu=cortex-a15', '', d)}"
Andrew Geisslerc3d88e42020-10-02 09:45:00 -05007MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'cortexa15', 'armv7ve:', '', d)}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05008
9# Little Endian base configs
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050010AVAILTUNES += "cortexa15 cortexa15t cortexa15-neon cortexa15t-neon cortexa15-neon-vfpv4 cortexa15t-neon-vfpv4"
11ARMPKGARCH_tune-cortexa15 = "cortexa15"
12ARMPKGARCH_tune-cortexa15t = "cortexa15"
13ARMPKGARCH_tune-cortexa15-neon = "cortexa15"
14ARMPKGARCH_tune-cortexa15t-neon = "cortexa15"
15ARMPKGARCH_tune-cortexa15-neon-vfpv4 = "cortexa15"
16ARMPKGARCH_tune-cortexa15t-neon-vfpv4 = "cortexa15"
Brad Bishop19323692019-04-05 15:28:33 -040017# mcpu is used so don't use armv7ve as we don't want march
18TUNE_FEATURES_tune-cortexa15 = "arm vfp cortexa15"
19TUNE_FEATURES_tune-cortexa15t = "${TUNE_FEATURES_tune-cortexa15} thumb"
20TUNE_FEATURES_tune-cortexa15-neon = "${TUNE_FEATURES_tune-cortexa15} neon"
21TUNE_FEATURES_tune-cortexa15t-neon = "${TUNE_FEATURES_tune-cortexa15-neon} thumb"
22TUNE_FEATURES_tune-cortexa15-neon-vfpv4 = "${TUNE_FEATURES_tune-cortexa15-neon} vfpv4"
23TUNE_FEATURES_tune-cortexa15t-neon-vfpv4 = "${TUNE_FEATURES_tune-cortexa15-neon-vfpv4} thumb"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050024PACKAGE_EXTRA_ARCHS_tune-cortexa15 = "${PACKAGE_EXTRA_ARCHS_tune-armv7ve} cortexa15-vfp"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050025PACKAGE_EXTRA_ARCHS_tune-cortexa15t = "${PACKAGE_EXTRA_ARCHS_tune-armv7vet} cortexa15-vfp cortexa15t2-vfp"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050026PACKAGE_EXTRA_ARCHS_tune-cortexa15-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7ve-neon} cortexa15-vfp cortexa15-neon"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050027PACKAGE_EXTRA_ARCHS_tune-cortexa15t-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7vet-neon} cortexa15-vfp cortexa15-neon cortexa15t2-vfp cortexa15t2-neon"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050028PACKAGE_EXTRA_ARCHS_tune-cortexa15-neon-vfpv4 = "${PACKAGE_EXTRA_ARCHS_tune-armv7ve-neon-vfpv4} cortexa15-vfp cortexa15-neon cortexa15-neon-vfpv4"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050029PACKAGE_EXTRA_ARCHS_tune-cortexa15t-neon-vfpv4 = "${PACKAGE_EXTRA_ARCHS_tune-armv7vet-neon-vfpv4} cortexa15-vfp cortexa15-neon cortexa15-neon-vfpv4 cortexa15t2-vfp cortexa15t2-neon cortexa15t2-neon-vfpv4"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050030
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050031# HF Tunes
32AVAILTUNES += "cortexa15hf cortexa15thf cortexa15hf-neon cortexa15thf-neon cortexa15hf-neon-vfpv4 cortexa15thf-neon-vfpv4"
33ARMPKGARCH_tune-cortexa15hf = "cortexa15"
34ARMPKGARCH_tune-cortexa15thf = "cortexa15"
35ARMPKGARCH_tune-cortexa15hf-neon = "cortexa15"
36ARMPKGARCH_tune-cortexa15thf-neon = "cortexa15"
37ARMPKGARCH_tune-cortexa15hf-neon-vfpv4 = "cortexa15"
38ARMPKGARCH_tune-cortexa15thf-neon-vfpv4 = "cortexa15"
Brad Bishop19323692019-04-05 15:28:33 -040039# mcpu is used so don't use armv7ve as we don't want march
40TUNE_FEATURES_tune-cortexa15hf = "${TUNE_FEATURES_tune-cortexa15} callconvention-hard"
41TUNE_FEATURES_tune-cortexa15thf = "${TUNE_FEATURES_tune-cortexa15t} callconvention-hard"
42TUNE_FEATURES_tune-cortexa15hf-neon = "${TUNE_FEATURES_tune-cortexa15-neon} callconvention-hard"
43TUNE_FEATURES_tune-cortexa15thf-neon = "${TUNE_FEATURES_tune-cortexa15t-neon} callconvention-hard"
44TUNE_FEATURES_tune-cortexa15hf-neon-vfpv4 = "${TUNE_FEATURES_tune-cortexa15-neon-vfpv4} callconvention-hard"
45TUNE_FEATURES_tune-cortexa15thf-neon-vfpv4 = "${TUNE_FEATURES_tune-cortexa15t-neon-vfpv4} callconvention-hard"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050046PACKAGE_EXTRA_ARCHS_tune-cortexa15hf = "${PACKAGE_EXTRA_ARCHS_tune-armv7vehf} cortexa15hf-vfp"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050047PACKAGE_EXTRA_ARCHS_tune-cortexa15thf = "${PACKAGE_EXTRA_ARCHS_tune-armv7vethf} cortexa15hf-vfp cortexa15t2hf-vfp"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050048PACKAGE_EXTRA_ARCHS_tune-cortexa15hf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7vehf-neon} cortexa15hf-vfp cortexa15hf-neon"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050049PACKAGE_EXTRA_ARCHS_tune-cortexa15thf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7vethf-neon} cortexa15hf-vfp cortexa15hf-neon cortexa15t2hf-vfp cortexa15t2hf-neon"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050050PACKAGE_EXTRA_ARCHS_tune-cortexa15hf-neon-vfpv4 = "${PACKAGE_EXTRA_ARCHS_tune-armv7vehf-neon-vfpv4} cortexa15hf-vfp cortexa15hf-neon cortexa15hf-neon-vfpv4"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050051PACKAGE_EXTRA_ARCHS_tune-cortexa15thf-neon-vfpv4 = "${PACKAGE_EXTRA_ARCHS_tune-armv7vethf-neon-vfpv4} cortexa15hf-vfp cortexa15hf-neon cortexa15hf-neon-vfpv4 cortexa15t2hf-vfp cortexa15t2hf-neon cortexa15t2hf-neon-vfpv4"