Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(356)

Unified Diff: build/config/arm.gni

Issue 1915483004: Add armv8 support for 32-bit building (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/arm.gni
diff --git a/build/config/arm.gni b/build/config/arm.gni
index c83cf48518b0c4db8bcf0f727568fabd34972e6a..fefed65cf29d8542c3cb6ea2a1fdfd175982222c 100644
--- a/build/config/arm.gni
+++ b/build/config/arm.gni
@@ -67,6 +67,27 @@ if (target_cpu == "arm" || current_cpu == "arm") {
} else {
arm_fpu = "vfpv3-d16"
}
+ } else if (arm_version == 8) {
+ arm_arch = "armv8-a"
+ if (arm_tune == "") {
+ arm_tune = "generic-armv8-a"
+ }
+
+ if (arm_float_abi == "") {
+ if (is_android) {
+ arm_float_abi = "softfp"
+ } else {
+ arm_float_abi = "hard"
+ }
+ }
+
+ arm_use_thumb = true
+
+ if (arm_use_neon) {
+ arm_fpu = "neon"
+ } else {
+ arm_fpu = "vfpv3-d16"
+ }
}
} else if (current_cpu == "arm64") {
# arm64 supports only "hard".
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698