diff options
author | Kyrylo Tkachov <kyrylo.tkachov@arm.com> | 2015-08-04 09:47:49 +0000 |
---|---|---|
committer | Kyrylo Tkachov <ktkachov@gcc.gnu.org> | 2015-08-04 09:47:49 +0000 |
commit | 393ae126e488d3b8d7f6f650752e7f26a2feb2ce (patch) | |
tree | 91c8eb7e123893766abfd95a43b8ef2f8445f196 /gcc/config/aarch64/aarch64.h | |
parent | 46806c44a44ad2b4d24eba1248d41c775c9bbd31 (diff) | |
download | gcc-393ae126e488d3b8d7f6f650752e7f26a2feb2ce.zip gcc-393ae126e488d3b8d7f6f650752e7f26a2feb2ce.tar.gz gcc-393ae126e488d3b8d7f6f650752e7f26a2feb2ce.tar.bz2 |
[AArch64][2/14] Refactor arches handling, add arch enum identifier
* config/aarch64/aarch64.h (TARGET_CPU_CPP_BUILTINS): Define
__ARM_ARCH_8A directly rather than with cpp_define_formatted.
* config/aarch64/aarch64.c (struct processor): Add arch field.
(all_architectures): Handle above, move above all_cores.
(all_cores): Handle above.
(aarch64_parse_arch): Handle above changes.
* config/aarch64/aarch64-arches.def (armv8-a): Extend according to
above. Update comments.
(armv8.1-a): Likewise.
* config/aarch64/aarch64-cores.def: Update according to above.
* config/aarch64/aarch64-opts.h (aarch64_arch): New enum.
* config/aarch64/driver-aarch64.c (struct aarch64_arch): Rename to
aarch64_arch_driver_info.
From-SVN: r226553
Diffstat (limited to 'gcc/config/aarch64/aarch64.h')
-rw-r--r-- | gcc/config/aarch64/aarch64.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/config/aarch64/aarch64.h b/gcc/config/aarch64/aarch64.h index 535695c..80a239c 100644 --- a/gcc/config/aarch64/aarch64.h +++ b/gcc/config/aarch64/aarch64.h @@ -34,8 +34,7 @@ ("__ARM_ALIGN_MAX_STACK_PWR", 16); \ builtin_define_with_int_value \ ("__ARM_ARCH", aarch64_architecture_version); \ - cpp_define_formatted \ - (parse_in, "__ARM_ARCH_%dA", aarch64_architecture_version); \ + builtin_define ("__ARM_ARCH_8A"); \ builtin_define ("__ARM_ARCH_ISA_A64"); \ builtin_define_with_int_value \ ("__ARM_ARCH_PROFILE", 'A'); \ |