Reverting merge from trunk
[official-gcc.git] / gcc / config / sparc / sparc-opts.h
blobb5e9761af2b0314521a946a7d596caa68064e375
1 /* Definitions for option handling for SPARC.
2 Copyright (C) 1996-2013 Free Software Foundation, Inc.
4 This file is part of GCC.
6 GCC is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 3, or (at your option)
9 any later version.
11 GCC is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with GCC; see the file COPYING3. If not see
18 <http://www.gnu.org/licenses/>. */
20 #ifndef SPARC_OPTS_H
21 #define SPARC_OPTS_H
23 /* Processor type.
24 These must match the values for the cpu attribute in sparc.md and
25 the table in sparc_option_override. */
26 enum processor_type {
27 PROCESSOR_V7,
28 PROCESSOR_CYPRESS,
29 PROCESSOR_V8,
30 PROCESSOR_SUPERSPARC,
31 PROCESSOR_HYPERSPARC,
32 PROCESSOR_LEON,
33 PROCESSOR_LEON3,
34 PROCESSOR_SPARCLITE,
35 PROCESSOR_F930,
36 PROCESSOR_F934,
37 PROCESSOR_SPARCLITE86X,
38 PROCESSOR_SPARCLET,
39 PROCESSOR_TSC701,
40 PROCESSOR_V9,
41 PROCESSOR_ULTRASPARC,
42 PROCESSOR_ULTRASPARC3,
43 PROCESSOR_NIAGARA,
44 PROCESSOR_NIAGARA2,
45 PROCESSOR_NIAGARA3,
46 PROCESSOR_NIAGARA4,
47 PROCESSOR_NATIVE
50 /* Sparc system memory model. See Appendix D in the Sparc V9 manual
51 for formal specification, and Appendix J for more discussion. */
52 enum sparc_memory_model_type {
53 SMM_DEFAULT, /* Uninitialized. */
54 SMM_RMO, /* Relaxed Memory Order. */
55 SMM_PSO, /* Partial Store Order. */
56 SMM_TSO, /* Total Store Order. */
57 SMM_SC /* Sequential Consistency. */
60 #endif