blob: 4fe3eedf1beec5fa9c004ddcc7ac66ec30032b11 [file] [log] [blame]
Patrick Williamsc0f7c042017-02-23 20:41:17 -06001DEFAULTTUNE ?= "mipsisa64r6el"
2
3require conf/machine/include/mips/arch-mips.inc
4
5TUNEVALID[mipsisa64r6] = "Enable mipsisa64r6 specific processor optimizations"
6TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'mipsisa64r6', ' -march=mips64r6', '', d)}"
7
8# Base Tunes
9AVAILTUNES += "mipsisa64r6 mipsisa64r6el"
10
11TUNE_FEATURES_tune-mipsisa64r6 = "bigendian fpu-hard n64 mipsisa64r6 r6"
12MIPSPKGSFX_VARIANT_tune-mipsisa64r6 = "${TUNE_ARCH}"
13BASE_LIB_tune-mipsisa64r6 = "lib64"
14PACKAGE_EXTRA_ARCHS_tune-mipsisa64r6 = "mipsisa64r6"
15
16TUNE_FEATURES_tune-mipsisa64r6el = "fpu-hard r6 n64 mipsisa64r6"
17MIPSPKGSFX_VARIANT_tune-mipsisa64r6el = "${TUNE_ARCH}"
18BASE_LIB_tune-mipsisa64r6el = "lib64"
19PACKAGE_EXTRA_ARCHS_tune-mipsisa64r6el = "mipsisa64r6el"
20
21# Soft Float
22AVAILTUNES += "mipsisa64r6-nf mipsisa64r6el-nf"
23
24TUNE_FEATURES_tune-mipsisa64r6-nf = "bigendian r6 n64 mipsisa64r6"
25MIPSPKGSFX_VARIANT_tune-mipsisa64r6-nf = "${TUNE_ARCH}"
26BASE_LIB_tune-mipsisa64r6-nf = "lib64"
27PACKAGE_EXTRA_ARCHS_tune-mipsisa64r6-nf = "mipsisa64r6"
28
29TUNE_FEATURES_tune-mipsisa64r6el-nf = "r6 n64 mipsisa64r6"
30MIPSPKGSFX_VARIANT_tune-mipsisa64r6el-nf = "${TUNE_ARCH}"
31BASE_LIB_tune-mipsisa64r6el-nf = "lib64"
32PACKAGE_EXTRA_ARCHS_tune-mipsisa64r6el-nf = "mipsisa64r6el-nf"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050033
34# MIPS 64r6 n32
35AVAILTUNES += "mipsisa64r6-n32 mipsisa64r6el-n32"
36
37TUNE_FEATURES_tune-mipsisa64r6-n32 = "bigendian fpu-hard r6 n32 mipsisa64r6"
38BASE_LIB_tune-mipsisa64r6-n32 = "lib32"
39MIPSPKGSFX_VARIANT_tune-mipsisa64r6-n32 = "${TUNE_ARCH}"
40PACKAGE_EXTRA_ARCHS_tune-mipsisa64r6-n32 = "mipsisa64r6-n32"
41
42TUNE_FEATURES_tune-mipsisa64r6el-n32 = "fpu-hard r6 n32 mipsisa64r6"
43BASE_LIB_tune-mipsisa64r6el-n32 = "lib32"
44MIPSPKGSFX_VARIANT_tune-mipsisa64r6el-n32 = "${TUNE_ARCH}"
45PACKAGE_EXTRA_ARCHS_tune-mipsisa64r6el-n32 = "mipsisa64r6el-n32"
46
47# MIPS 64r6 n32 and Soft Float
48AVAILTUNES += "mipsisa64r6-nf-n32 mipsisa64r6el-nf-n32"
49
50TUNE_FEATURES_tune-mipsisa64r6-nf-n32 = "bigendian r6 n32 mipsisa64r6"
51BASE_LIB_tune-mipsisa64r6-nf-n32 = "lib32"
52MIPSPKGSFX_VARIANT_tune-mipsisa64r6-nf-n32 = "${TUNE_ARCH}"
53PACKAGE_EXTRA_ARCHS_tune-mipsisa64r6-nf-n32 = "mipsisa64r6-nf-n32"
54
55TUNE_FEATURES_tune-mipsisa64r6el-nf-n32 = "r6 n32 mipsisa64r6"
56BASE_LIB_tune-mipsisa64r6el-nf-n32 = "lib32"
57MIPSPKGSFX_VARIANT_tune-mipsisa64r6el-nf-n32 = "${TUNE_ARCH}"
58PACKAGE_EXTRA_ARCHS_tune-mipsisa64r6el-nf-n32 = "mipsisa64r6el-nf-n32"