[AArch64] Break -mcpu tie between the compiler and assembler
authorJames Greenhalgh <james.greenhalgh@arm.com>
Thu, 20 Aug 2015 10:18:54 +0000 (10:18 +0000)
committerJames Greenhalgh <jgreenhalgh@gcc.gnu.org>
Thu, 20 Aug 2015 10:18:54 +0000 (10:18 +0000)
commit054b4005fae9b2dee9d53c7daf1cab91fb1675c9
tree9884b668d01728fa2694f6b5a006c43463bcf087
parentdfd71aba57811c28d21a49909d9c6b96f5ae05ea
[AArch64] Break -mcpu tie between the compiler and assembler

gcc/

* common/config/aarch64/aarch64-common.c
(AARCH64_CPU_NAME_LENGTH): Delete.
(aarch64_option_extension): New.
(all_extensions): Likewise.
(processor_name_to_arch): Likewise.
(arch_to_arch_name): Likewise.
(all_cores): New.
(all_architectures): Likewise.
(aarch64_get_extension_string_for_isa_flags): Likewise.
(aarch64_rewrite_selected_cpu): Change to rewrite CPU names to
architecture names.
* config/aarch64/aarch64-protos.h
(aarch64_get_extension_string_for_isa_flags): New.
* config/aarch64/aarch64.c (aarch64_print_extension): Delete.
(aarch64_option_print): Get the string to print from
aarch64_get_extension_string_for_isa_flags.
(aarch64_declare_function_name): Likewise.
* config/aarch64/aarch64.h (BIG_LITTLE_SPEC): Rename to...
(MCPU_TO_MARCH_SPEC): This.
(ASM_CPU_SPEC): Use it.
(BIG_LITTLE_SPEC_FUNCTIONS): Rename to...
(MCPU_TO_MARCH_SPEC_FUNCTIONS): ...This.
(EXTRA_SPEC_FUNCTIONS): Use it.

From-SVN: r227028
gcc/ChangeLog
gcc/common/config/aarch64/aarch64-common.c
gcc/config/aarch64/aarch64-protos.h
gcc/config/aarch64/aarch64.c
gcc/config/aarch64/aarch64.h