2016-10-21 Andrew Pinski <apinski@cavium.com>
commit14326a2259dd4bbbf70968d866bfd01db85945c7
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 22 Oct 2016 03:40:06 +0000 (22 03:40 +0000)
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 22 Oct 2016 03:40:06 +0000 (22 03:40 +0000)
tree35b06b312f814df36b0cb218e18207eed589fbfd
parent0fbf82006f34e77d077dee6f488b63a602af06fe
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@241437 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/aarch64/aarch64-cores.def
gcc/config/aarch64/driver-aarch64.c