soong: use optimal FPU on Kryo targets

* -mfpu=neon-fp-armv8 enables the ARMv8 floating-point and
  Advanced SIMD extensions.

Test: Marlin builds successfully

Change-Id: Ibdf71dae61b966372e3bcb946aa18d1a6cd0f8e6
This commit is contained in:
Jake Weinstein 2017-04-06 20:28:05 -04:00
parent 86a1c7dd15
commit 1783a2f3e8
1 changed files with 1 additions and 1 deletions

View File

@ -136,6 +136,7 @@ var (
},
"kryo": []string{
"-mcpu=cortex-a15",
"-mfpu=neon-fp-armv8",
// Fake an ARM compiler flag as these processors support LPAE which GCC/clang
// don't advertise.
// TODO This is a hack and we need to add it for each processor that supports LPAE until some
@ -171,7 +172,6 @@ func init() {
armClangCpuVariantCflags["krait"] = append(armClangCpuVariantCflags["krait"], "-mfpu=neon-vfpv4")
replaceFirst(armClangCpuVariantCflags["kryo"], "-mcpu=cortex-a15", "-mcpu=krait")
armClangCpuVariantCflags["kryo"] = append(armClangCpuVariantCflags["kryo"], "-mfpu=neon-vfpv4")
pctx.StaticVariable("armGccVersion", armGccVersion)