2016-10-21 Andrew Pinski <apinski@cavium.com>
* config/aarch64/aarch64-cores.def: Rewrite so IMP and PART are
integer constants.
* config/aarch64/driver-aarch64.c (struct aarch64_core_data): Change
implementer_id to unsigned char.
Change part_no to unsigned int.
(AARCH64_BIG_LITTLE): New define.
(INVALID_IMP): New define.
(INVALID_CORE): New define.
(cpu_data): Change the last element's implementer_id and part_no to
integers.
(valid_bL_string_p): Rewrite to ..
(valid_bL_core_p): this for integers instead of strings.
(parse_field): New function.
(contains_string_p): Rewrite to ...
(contains_core_p): this for integers and only for the part_no.
(host_detect_local_cpu): Rewrite handling of implementation and
par num to be integers; simplifying the code.
From-SVN: r241437
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| aarch64-arches.def | Loading commit data... | |
| aarch64-builtins.c | Loading commit data... | |
| aarch64-c.c | Loading commit data... | |
| aarch64-cores.def | Loading commit data... | |
| aarch64-cost-tables.h | Loading commit data... | |
| aarch64-elf-raw.h | Loading commit data... | |
| aarch64-elf.h | Loading commit data... | |
| aarch64-freebsd.h | Loading commit data... | |
| aarch64-fusion-pairs.def | Loading commit data... | |
| aarch64-ldpstp.md | Loading commit data... | |
| aarch64-linux.h | Loading commit data... | |
| aarch64-modes.def | Loading commit data... | |
| aarch64-option-extensions.def | Loading commit data... | |
| aarch64-opts.h | Loading commit data... | |
| aarch64-passes.def | Loading commit data... | |
| aarch64-protos.h | Loading commit data... | |
| aarch64-simd-builtin-types.def | Loading commit data... | |
| aarch64-simd-builtins.def | Loading commit data... | |
| aarch64-simd.md | Loading commit data... | |
| aarch64-tune.md | Loading commit data... | |
| aarch64-tuning-flags.def | Loading commit data... | |
| aarch64.c | Loading commit data... | |
| aarch64.h | Loading commit data... | |
| aarch64.md | Loading commit data... | |
| aarch64.opt | Loading commit data... | |
| arm_acle.h | Loading commit data... | |
| arm_fp16.h | Loading commit data... | |
| arm_neon.h | Loading commit data... | |
| atomics.md | Loading commit data... | |
| biarchilp32.h | Loading commit data... | |
| biarchlp64.h | Loading commit data... | |
| constraints.md | Loading commit data... | |
| cortex-a57-fma-steering.c | Loading commit data... | |
| driver-aarch64.c | Loading commit data... | |
| geniterators.sh | Loading commit data... | |
| gentune.sh | Loading commit data... | |
| iterators.md | Loading commit data... | |
| predicates.md | Loading commit data... | |
| rtems.h | Loading commit data... | |
| t-aarch64 | Loading commit data... | |
| t-aarch64-freebsd | Loading commit data... | |
| t-aarch64-linux | Loading commit data... | |
| thunderx.md | Loading commit data... | |
| x-aarch64 | Loading commit data... |