[AArch64] Implement -m{cpu,tune,arch}=native using only /proc/cpuinfo
commit8b81ce60cb7975ad457d58d237d1b533f81ecd7c
authorktkachov <ktkachov@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 24 Apr 2015 14:52:47 +0000 (24 14:52 +0000)
committerktkachov <ktkachov@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 24 Apr 2015 14:52:47 +0000 (24 14:52 +0000)
treeb4ffc12d1036577eda1baec7f5d6bbe152b867f1
parent678dde3ec4300c4cc5042f895e6675df702d69bd
[AArch64] Implement -m{cpu,tune,arch}=native using only /proc/cpuinfo

* config.host (case ${host}): Add aarch64*-*-linux case.
* config/aarch64/aarch64-cores.def: Add IMPLEMENTER_ID and PART_NUMBER
fields to all the cores.
* config/aarch64/aarch64-elf.h (DRIVER_SELF_SPECS):
Add MCPU_MTUNE_NATIVE_SPECS.
* config/aarch64/aarch64-option-extensions.def: Add FEATURE_STRING
field to all extensions.
* config/aarch64/aarch64-opts.h: Adjust definition of AARCH64_CORE.
* config/aarch64/aarch64.c: Adjust definition of AARCH64_CORE.
Adjust definition of AARCH64_OPT_EXTENSION.
* config/aarch64/aarch64.h: Adjust definition of AARCH64_CORE.
(MCPU_MTUNE_NATIVE_SPECS): Define.
* config/aarch64/driver-aarch64.c: New file.
* config/aarch64/x-arch64: New file.
* doc/invoke.texi (AArch64 Options): Document native value for -mcpu,
-mtune and -march.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222415 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config.host
gcc/config/aarch64/aarch64-cores.def
gcc/config/aarch64/aarch64-elf.h
gcc/config/aarch64/aarch64-option-extensions.def
gcc/config/aarch64/aarch64-opts.h
gcc/config/aarch64/aarch64.c
gcc/config/aarch64/aarch64.h
gcc/config/aarch64/driver-aarch64.c [new file with mode: 0644]
gcc/config/aarch64/x-aarch64 [new file with mode: 0644]
gcc/doc/invoke.texi