Add support for Exynos-M1
Change-Id: Ie57507a5d0ea9101db603ff3538c51853083a314 Signed-off-by: Junmo Park <junmoz.park@samsung.com>
This commit is contained in:
parent
99cd671ac3
commit
8ea4959279
|
@ -879,11 +879,13 @@ func getMegaDeviceConfig() []archConfig {
|
|||
{"arm", "armv7-a-neon", "denver", []string{"armeabi-v7a"}},
|
||||
{"arm", "armv7-a-neon", "krait", []string{"armeabi-v7a"}},
|
||||
{"arm", "armv7-a-neon", "kryo", []string{"armeabi-v7a"}},
|
||||
{"arm", "armv7-a-neon", "exynos-m1", []string{"armeabi-v7a"}},
|
||||
{"arm", "armv7-a-neon", "exynos-m2", []string{"armeabi-v7a"}},
|
||||
{"arm64", "armv8-a", "cortex-a53", []string{"arm64-v8a"}},
|
||||
{"arm64", "armv8-a", "cortex-a73", []string{"arm64-v8a"}},
|
||||
{"arm64", "armv8-a", "denver64", []string{"arm64-v8a"}},
|
||||
{"arm64", "armv8-a", "kryo", []string{"arm64-v8a"}},
|
||||
{"arm64", "armv8-a", "exynos-m1", []string{"arm64-v8a"}},
|
||||
{"arm64", "armv8-a", "exynos-m2", []string{"arm64-v8a"}},
|
||||
{"mips", "mips32-fp", "", []string{"mips"}},
|
||||
{"mips", "mips32r2-fp", "", []string{"mips"}},
|
||||
|
|
|
@ -81,6 +81,9 @@ var (
|
|||
// don't support a Kryo specific target yet.
|
||||
"-mcpu=cortex-a57",
|
||||
},
|
||||
"exynos-m1": []string{
|
||||
"-mcpu=exynos-m1",
|
||||
},
|
||||
"exynos-m2": []string{
|
||||
"-mcpu=exynos-m2",
|
||||
},
|
||||
|
@ -99,6 +102,7 @@ func init() {
|
|||
"cortex-a53",
|
||||
"cortex-a73",
|
||||
"kryo",
|
||||
"exynos-m1",
|
||||
"exynos-m2",
|
||||
"denver64")
|
||||
|
||||
|
@ -129,6 +133,11 @@ func init() {
|
|||
pctx.StaticVariable("Arm64ClangKryoCflags",
|
||||
strings.Join(arm64ClangCpuVariantCflags["kryo"], " "))
|
||||
|
||||
pctx.StaticVariable("Arm64ExynosM1Cflags",
|
||||
strings.Join(arm64CpuVariantCflags["cortex-a53"], " "))
|
||||
pctx.StaticVariable("Arm64ClangExynosM1Cflags",
|
||||
strings.Join(arm64ClangCpuVariantCflags["exynos-m1"], " "))
|
||||
|
||||
pctx.StaticVariable("Arm64ExynosM2Cflags",
|
||||
strings.Join(arm64CpuVariantCflags["cortex-a53"], " "))
|
||||
pctx.StaticVariable("Arm64ClangExynosM2Cflags",
|
||||
|
@ -141,6 +150,7 @@ var (
|
|||
"cortex-a53": "${config.Arm64CortexA53Cflags}",
|
||||
"cortex-a73": "${config.Arm64CortexA53Cflags}",
|
||||
"kryo": "${config.Arm64KryoCflags}",
|
||||
"exynos-m1": "${config.Arm64ExynosM1Cflags}",
|
||||
"exynos-m2": "${config.Arm64ExynosM2Cflags}",
|
||||
}
|
||||
|
||||
|
@ -149,6 +159,7 @@ var (
|
|||
"cortex-a53": "${config.Arm64ClangCortexA53Cflags}",
|
||||
"cortex-a73": "${config.Arm64ClangCortexA53Cflags}",
|
||||
"kryo": "${config.Arm64ClangKryoCflags}",
|
||||
"exynos-m1": "${config.Arm64ClangExynosM1Cflags}",
|
||||
"exynos-m2": "${config.Arm64ClangExynosM2Cflags}",
|
||||
}
|
||||
)
|
||||
|
|
|
@ -182,6 +182,7 @@ func init() {
|
|||
"cortex-a73",
|
||||
"krait",
|
||||
"kryo",
|
||||
"exynos-m1",
|
||||
"exynos-m2",
|
||||
"denver")
|
||||
|
||||
|
@ -275,6 +276,7 @@ var (
|
|||
"cortex-a73": "${config.ArmCortexA53Cflags}",
|
||||
"krait": "${config.ArmKraitCflags}",
|
||||
"kryo": "${config.ArmKryoCflags}",
|
||||
"exynos-m1": "${config.ArmCortexA53Cflags}",
|
||||
"exynos-m2": "${config.ArmCortexA53Cflags}",
|
||||
"denver": "${config.ArmCortexA15Cflags}",
|
||||
}
|
||||
|
@ -295,6 +297,7 @@ var (
|
|||
"cortex-a73": "${config.ArmClangCortexA53Cflags}",
|
||||
"krait": "${config.ArmClangKraitCflags}",
|
||||
"kryo": "${config.ArmClangKryoCflags}",
|
||||
"exynos-m1": "${config.ArmClangCortexA53Cflags}",
|
||||
"exynos-m2": "${config.ArmClangCortexA53Cflags}",
|
||||
"denver": "${config.ArmClangCortexA15Cflags}",
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue