aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJake Weinstein <xboxlover360@gmail.com>2017-04-06 22:25:34 -0400
committerChristopher Ferris <cferris@google.com>2017-04-11 14:37:04 -0700
commit5cfd70952954ed5cffa270d9733df802123b1ea0 (patch)
tree4a6380f4d32fb0ff2977b1fc66d74d30d78b9b9f
parenta688be8f7dd639365deb717790b0e2a3c19e6a9e (diff)
downloadbuild_soong-5cfd70952954ed5cffa270d9733df802123b1ea0.tar.gz
build_soong-5cfd70952954ed5cffa270d9733df802123b1ea0.tar.bz2
build_soong-5cfd70952954ed5cffa270d9733df802123b1ea0.zip
soong: use optimal FPU for Cortex-A7
* Cortex-A7 supports VFPv4 instructions Test: make otapackage Change-Id: I709811980cda398994ba8c6e791a8625a3422455
-rw-r--r--cc/config/arm_device.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/config/arm_device.go b/cc/config/arm_device.go
index 9058de2f..5d17d15c 100644
--- a/cc/config/arm_device.go
+++ b/cc/config/arm_device.go
@@ -109,6 +109,7 @@ var (
},
"cortex-a7": []string{
"-mcpu=cortex-a7",
+ "-mfpu=neon-vfpv4",
// 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