Skip to content

Commit

Permalink
arm_device: Change cortex-a76 mcpu from a55 to a75
Browse files Browse the repository at this point in the history
* Similar to what done on arm64_device

Signed-off-by: Pranav Vashi <[email protected]>
Signed-off-by: ReveRTX <[email protected]
  • Loading branch information
neobuddy89 authored and ReveRTX committed May 31, 2024
1 parent e18191c commit df59cdb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cc/config/arm_device.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ var (
"-D__ARM_FEATURE_LPAE=1",
},
"cortex-a76": []string{
"-mcpu=cortex-a55",
"-mcpu=cortex-a75",
"-mfpu=neon-fp-armv8",
// Fake an ARM compiler flag as these processors support LPAE which clang
// don't advertise.
Expand Down Expand Up @@ -214,6 +214,7 @@ func init() {
exportedVars.ExportStringListStaticVariable("ArmCortexA32Cflags", armCpuVariantCflags["cortex-a32"])
exportedVars.ExportStringListStaticVariable("ArmCortexA53Cflags", armCpuVariantCflags["cortex-a53"])
exportedVars.ExportStringListStaticVariable("ArmCortexA55Cflags", armCpuVariantCflags["cortex-a55"])
exportedVars.ExportStringListStaticVariable("ArmCortexA76Cflags", armCpuVariantCflags["cortex-a76"])
exportedVars.ExportStringListStaticVariable("ArmKraitCflags", armCpuVariantCflags["krait"])
exportedVars.ExportStringListStaticVariable("ArmKryoCflags", armCpuVariantCflags["kryo"])
}
Expand All @@ -239,7 +240,7 @@ var (
"cortex-a72": "${config.ArmCortexA53Cflags}",
"cortex-a73": "${config.ArmCortexA53Cflags}",
"cortex-a75": "${config.ArmCortexA55Cflags}",
"cortex-a76": "${config.ArmCortexA55Cflags}",
"cortex-a76": "${config.ArmCortexA76Cflags}",
"krait": "${config.ArmKraitCflags}",
"kryo": "${config.ArmKryoCflags}",
"kryo385": "${config.ArmCortexA53Cflags}",
Expand Down

0 comments on commit df59cdb

Please sign in to comment.