Update arm.gni

This commit is contained in:
Alexander David Frick 2022-09-03 05:33:48 -05:00 committed by GitHub
parent 40f99df32c
commit 81253bdbce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,7 +13,7 @@ if (current_cpu == "arm" || v8_current_cpu == "arm") {
declare_args() {
# Version of the ARM processor when compiling on ARM. Ignored on non-ARM
# platforms.
arm_version = 8
arm_version = 7
# The ARM architecture. This will be a string like "armv6" or "armv7-a".
# An empty string means to use the default for the arm_version.
@ -29,7 +29,7 @@ if (current_cpu == "arm" || v8_current_cpu == "arm") {
arm_tune = ""
# Whether to use the neon FPU instruction set or not.
arm_use_neon = true
arm_use_neon = ""
# Whether to enable optional NEON code paths.
arm_optionally_use_neon = false
@ -126,8 +126,13 @@ if (current_cpu == "arm" || v8_current_cpu == "arm") {
}
} else if (current_cpu == "arm64" || v8_current_cpu == "arm64") {
# arm64 supports only "hard".
arm_version = 8
arm_arch = "armv8-a"
arm_tune = "generic-armv8-a"
arm_float_abi = "hard"
arm_use_thumb = true
arm_use_neon = true
arm_fpu = "neon"
declare_args() {
# Enables the new Armv8 branch protection features. Valid strings are:
# - "pac": Enables Pointer Authentication Code (PAC, featured in Armv8.3)