config.gcc (powerpc*-*-*): Add new cores e300c2 and e300c3.
authorEdmar Wienskoski <edmar@freescale.com>
Sun, 24 Feb 2008 14:38:03 +0000 (14:38 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Sun, 24 Feb 2008 14:38:03 +0000 (09:38 -0500)
commitfa41c305973315be3e7dbc10a7ae7590ccfbc62c
tree8454006da6b5c985fa586b1d8180ba0dfd3b1e0c
parenta94caabf5ae9907e954fe20e4af062eebb5bbe46
config.gcc (powerpc*-*-*): Add new cores e300c2 and e300c3.

2008-02-21  Edmar Wienskoski  <edmar@freescale.com>

        * config.gcc (powerpc*-*-*): Add new cores e300c2 and e300c3.
        * config/rs6000/e300c2c3.md: New file.
        * config/rs6000/rs6000.c (processor_costs): Add new costs for
        e300c2 and e300c3.
        (rs6000_override_options): Add e300c2 and e300c3 cases to
        processor_target_table. Do not allow usage of Altivec or Spe
        with e300 cores. Initialize rs6000_cost for e300c2 and e300c3.
        (rs6000_issue_rate): Set issue rate for e300c2 and e300c3.
        * config/rs6000/rs6000.h (processor_type): Add
        PROCESSOR_PPCE300C2 and PROCESSOR_PPCE300C3.
        (ASM_CPU_SPEC): Add e300c2 and e300c3.
        * config/rs6000/rs6000.md (define_attr "cpu"): Add ppce300c2
        and ppce300c3. Include e300c2c3.md.

From-SVN: r132589
gcc/ChangeLog
gcc/config.gcc
gcc/config/rs6000/e300c2c3.md [new file with mode: 0644]
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/rs6000.h
gcc/config/rs6000/rs6000.md