* 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
51 lines
1.4 KiB
C
51 lines
1.4 KiB
C
/* Definitions for option handling for SPARC.
|
|
Copyright (C) 1996, 1999, 2002, 2006, 2007, 2010, 2011
|
|
Free Software Foundation, Inc.
|
|
|
|
This file is part of GCC.
|
|
|
|
GCC is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation; either version 3, or (at your option)
|
|
any later version.
|
|
|
|
GCC is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with GCC; see the file COPYING3. If not see
|
|
<http://www.gnu.org/licenses/>. */
|
|
|
|
#ifndef SPARC_OPTS_H
|
|
#define SPARC_OPTS_H
|
|
|
|
/* Processor type.
|
|
These must match the values for the cpu attribute in sparc.md and
|
|
the table in sparc_option_override. */
|
|
enum processor_type {
|
|
PROCESSOR_V7,
|
|
PROCESSOR_CYPRESS,
|
|
PROCESSOR_V8,
|
|
PROCESSOR_SUPERSPARC,
|
|
PROCESSOR_HYPERSPARC,
|
|
PROCESSOR_LEON,
|
|
PROCESSOR_SPARCLITE,
|
|
PROCESSOR_F930,
|
|
PROCESSOR_F934,
|
|
PROCESSOR_SPARCLITE86X,
|
|
PROCESSOR_SPARCLET,
|
|
PROCESSOR_TSC701,
|
|
PROCESSOR_V9,
|
|
PROCESSOR_ULTRASPARC,
|
|
PROCESSOR_ULTRASPARC3,
|
|
PROCESSOR_NIAGARA,
|
|
PROCESSOR_NIAGARA2,
|
|
PROCESSOR_NIAGARA3,
|
|
PROCESSOR_NIAGARA4,
|
|
PROCESSOR_NATIVE
|
|
};
|
|
|
|
#endif
|