Update arm.gni

This commit is contained in:
Alexander David Frick 2022-08-24 23:45:30 -05:00 committed by GitHub
parent b2fe87b459
commit 7f8129711a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,7 +17,7 @@ if (current_cpu == "arm" || v8_current_cpu == "arm") {
# 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.
arm_arch = "armv8.1-a"
arm_arch = "armv8.5-a"
# The ARM floating point hardware. This will be a string like "neon" or
# "vfpv3". An empty string means to use the default for the arm_version.
@ -26,13 +26,13 @@ if (current_cpu == "arm" || v8_current_cpu == "arm") {
# The ARM variant-specific tuning mode. This will be a string like "armv6"
# or "cortex-a15". An empty string means to use the default for the
# arm_version.
arm_tune = "generic-armv8.1-a"
arm_tune = "generic-armv8.5-a"
# Whether to use the neon FPU instruction set or not.
arm_use_neon = "true"
arm_use_neon = true
# Whether to enable optional NEON code paths.
arm_optionally_use_neon = false
arm_optionally_use_neon = true
# Thumb is a reduced instruction set available on some ARM processors that
# has increased code density.
@ -127,7 +127,7 @@ if (current_cpu == "arm" || v8_current_cpu == "arm") {
} else if (current_cpu == "arm64" || v8_current_cpu == "arm64") {
# arm64 supports only "hard".
arm_float_abi = "hard"
arm_use_neon = "true"
arm_use_neon = true
declare_args() {
# Enables the new Armv8 branch protection features. Valid strings are:
# - "pac": Enables Pointer Authentication Code (PAC, featured in Armv8.3)