mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-10 03:47:44 -03:00
Update arm.gni
This commit is contained in:
parent
40f99df32c
commit
81253bdbce
1 changed files with 7 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue