Skip to content

Commit

Permalink
arm64_device: Change cortex-a76 mcpu from a55 to a75
Browse files Browse the repository at this point in the history
Change-Id: I94ac35df6efd2bc96e38e5a64086f4c0878addf6
Signed-off-by: Jason Edson <[email protected]>
[@neobuddy89: Updated for A13]
Signed-off-by: Pranav Vashi <[email protected]>
Signed-off-by: ReveRTX <[email protected]>
  • Loading branch information
mydongistiny authored and ReveRTX committed May 31, 2024
1 parent 6bf3358 commit e18191c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions cc/config/arm64_device.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ var (
"-mcpu=cortex-a55",
},
"cortex-a76": []string{
// Use the cortex-a55 since it is similar to the little
// core (cortex-a55) and is sensitive to ordering.
"-mcpu=cortex-a55",
// Use the cortex-a75 because some AOSP repos still use
// -no-integrated-as and binutils doesn't know the a76.
"-mcpu=cortex-a75",
},
"kryo": []string{
"-mcpu=kryo",
Expand Down Expand Up @@ -127,6 +127,7 @@ func init() {
exportedVars.ExportStringListStaticVariable("Arm64CortexA510Cflags", arm64CpuVariantCflags["cortex-a510"])
exportedVars.ExportStringListStaticVariable("Arm64CortexA53Cflags", arm64CpuVariantCflags["cortex-a53"])
exportedVars.ExportStringListStaticVariable("Arm64CortexA55Cflags", arm64CpuVariantCflags["cortex-a55"])
exportedVars.ExportStringListStaticVariable("Arm64CortexA76Cflags", arm64CpuVariantCflags["cortex-a76"])
exportedVars.ExportStringListStaticVariable("Arm64KryoCflags", arm64CpuVariantCflags["kryo"])
exportedVars.ExportStringListStaticVariable("Arm64ExynosM1Cflags", arm64CpuVariantCflags["exynos-m1"])
exportedVars.ExportStringListStaticVariable("Arm64ExynosM2Cflags", arm64CpuVariantCflags["exynos-m2"])
Expand All @@ -150,7 +151,7 @@ var (
"cortex-a72": "${config.Arm64CortexA53Cflags}",
"cortex-a73": "${config.Arm64CortexA53Cflags}",
"cortex-a75": "${config.Arm64CortexA55Cflags}",
"cortex-a76": "${config.Arm64CortexA55Cflags}",
"cortex-a76": "${config.Arm64CortexA76Cflags}",
"kryo": "${config.Arm64KryoCflags}",
"kryo385": "${config.Arm64CortexA53Cflags}",
"exynos-m1": "${config.Arm64ExynosM1Cflags}",
Expand Down

0 comments on commit e18191c

Please sign in to comment.