Merge "Remove workaround for cortex-a55/a75"

This commit is contained in:
Yi Kong
2018-06-17 09:01:20 +00:00
committed by Gerrit Code Review
2 changed files with 5 additions and 8 deletions

View File

@@ -53,15 +53,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

@@ -100,7 +100,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.
@@ -109,7 +109,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.