Merge "Remove workaround for cortex-a55/a75" into pi-dev

This commit is contained in:
TreeHugger Robot 2018-06-30 00:46:02 +00:00 committed by Android (Google) Code Review
commit a5471138c5
2 changed files with 5 additions and 8 deletions

View File

@ -50,15 +50,12 @@ var (
"-mcpu=cortex-a53", "-mcpu=cortex-a53",
}, },
"cortex-a55": []string{ "cortex-a55": []string{
// The cortex-a55 target is not yet supported, "-mcpu=cortex-a55",
// so use cortex-a53.
"-mcpu=cortex-a53",
}, },
"cortex-a75": []string{ "cortex-a75": []string{
// Use the cortex-a53 since it is similar to the little // Use the cortex-a55 since it is similar to the little
// core (cortex-a55) and is sensitive to ordering. // core (cortex-a55) and is sensitive to ordering.
// The cortex-a55 target is not yet supported. "-mcpu=cortex-a55",
"-mcpu=cortex-a53",
}, },
"kryo": []string{ "kryo": []string{
// Use the cortex-a57 cpu since some compilers // Use the cortex-a57 cpu since some compilers

View File

@ -98,7 +98,7 @@ var (
"-D__ARM_FEATURE_LPAE=1", "-D__ARM_FEATURE_LPAE=1",
}, },
"cortex-a55": []string{ "cortex-a55": []string{
"-mcpu=cortex-a53", "-mcpu=cortex-a55",
"-mfpu=neon-fp-armv8", "-mfpu=neon-fp-armv8",
// Fake an ARM compiler flag as these processors support LPAE which GCC/clang // Fake an ARM compiler flag as these processors support LPAE which GCC/clang
// don't advertise. // don't advertise.
@ -107,7 +107,7 @@ var (
"-D__ARM_FEATURE_LPAE=1", "-D__ARM_FEATURE_LPAE=1",
}, },
"cortex-a75": []string{ "cortex-a75": []string{
"-mcpu=cortex-a53", "-mcpu=cortex-a55",
"-mfpu=neon-fp-armv8", "-mfpu=neon-fp-armv8",
// Fake an ARM compiler flag as these processors support LPAE which GCC/clang // Fake an ARM compiler flag as these processors support LPAE which GCC/clang
// don't advertise. // don't advertise.