aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2017-04-07 23:18:23 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-04-07 23:18:24 +0000
commit56d299d614ee4eaa9b356808b74490787404673c (patch)
tree7ade164caa2f400797e0174c0334fc5cc6b2a439
parentb916b80bf301545595a8263776180c1db90a9ccc (diff)
parent1783a2f3e87ce191d5a22b0125aab6111a562a6c (diff)
downloadbuild_soong-56d299d614ee4eaa9b356808b74490787404673c.tar.gz
build_soong-56d299d614ee4eaa9b356808b74490787404673c.tar.bz2
build_soong-56d299d614ee4eaa9b356808b74490787404673c.zip
Merge "soong: use optimal FPU on Kryo targets"
-rw-r--r--cc/config/arm_device.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/config/arm_device.go b/cc/config/arm_device.go
index d144c037..ae4e6464 100644
--- a/cc/config/arm_device.go
+++ b/cc/config/arm_device.go
@@ -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)