sparc-opts.h (PROCESSOR_NIAGARA3, [...]): New.
authorDavid S. Miller <davem@davemloft.net>
Mon, 5 Sep 2011 16:00:53 +0000 (16:00 +0000)
committerDavid S. Miller <davem@gcc.gnu.org>
Mon, 5 Sep 2011 16:00:53 +0000 (09:00 -0700)
commit3e64c239dd9a97ce13c6c69d42247d0187854f09
tree567a4e123c0f1e18e9b8b74dc138f6b16396f5ba
parent0913b2d64ed9926d38d1de2370df11b0f98a49e0
sparc-opts.h (PROCESSOR_NIAGARA3, [...]): New.

* config/sparc/sparc-opts.h (PROCESSOR_NIAGARA3,
PROCESSOR_NIAGARA4): New.
* config/sparc/sparc.opt: Handle new processor types.
* config/sparc/sparc.md: Add to "cpu" attribute.
* config/sparc/sparc.h (TARGET_CPU_niagara3,
TARGET_CPU_niagara4): New, treat as niagara2.
* config/sparc/linux64.h: Handle niagara3 and niagara4
like niagara2.
* config/sparc/sol2.h: Likewise.
* config/sparc/niagara2.md: Schedule niagara3 like
niagara2.
* config/sparc/sparc.c (sparc_option_override): Add
niagara3 and niagara4 handling.
(sparc32_initialize_trampoline): Likewise.
(sparc64_initialize_trampoline): Likewise.
(sparc_use_sched_lookahead): Likewise.
(sparc_issue_rate): Likewise.
(sparc_register_move_cost): Likewise.
* config/sparc/driver-sparc.c (cpu_names): Use niagara3
and niagara4 as appropriate.
* doc/invoke.texi: Document new processor types.

From-SVN: r178554
gcc/ChangeLog
gcc/config/sparc/driver-sparc.c
gcc/config/sparc/linux64.h
gcc/config/sparc/niagara2.md
gcc/config/sparc/sol2.h
gcc/config/sparc/sparc-opts.h
gcc/config/sparc/sparc.c
gcc/config/sparc/sparc.h
gcc/config/sparc/sparc.md
gcc/config/sparc/sparc.opt
gcc/doc/invoke.texi