]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/config/s390/s390-opts.h
Update copyright years.
[thirdparty/gcc.git] / gcc / config / s390 / s390-opts.h
CommitLineData
8ad6fff9 1/* Definitions for option handling for IBM S/390.
fbd26352 2 Copyright (C) 1999-2019 Free Software Foundation, Inc.
8ad6fff9 3
4This file is part of GCC.
5
6GCC is free software; you can redistribute it and/or modify it under
7the terms of the GNU General Public License as published by the Free
8Software Foundation; either version 3, or (at your option) any later
9version.
10
11GCC is distributed in the hope that it will be useful, but WITHOUT ANY
12WARRANTY; without even the implied warranty of MERCHANTABILITY or
13FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14for more details.
15
16You should have received a copy of the GNU General Public License
17along with GCC; see the file COPYING3. If not see
18<http://www.gnu.org/licenses/>. */
19
20#ifndef S390_OPTS_H
21#define S390_OPTS_H
22
6ef12d3a 23/* Which processor to generate code or schedule for. The `cpu' attribute
8ad6fff9 24 defines a list that mirrors this list, so changes to s390.md must be
6ef12d3a 25 made at the same time. The enumeration must also be kept in sync with
26 `processor_table' and `processor_flags_table' in s390.c (the enumeration
27 values are used as indices into these tables). */
8ad6fff9 28
29enum processor_type
30{
8ad6fff9 31 PROCESSOR_2064_Z900,
32 PROCESSOR_2084_Z990,
33 PROCESSOR_2094_Z9_109,
7fe62d25 34 PROCESSOR_2094_Z9_EC,
8ad6fff9 35 PROCESSOR_2097_Z10,
36 PROCESSOR_2817_Z196,
81769881 37 PROCESSOR_2827_ZEC12,
cc79fcc9 38 PROCESSOR_2964_Z13,
a168a775 39 PROCESSOR_3906_Z14,
db249f37 40 PROCESSOR_NATIVE,
8ad6fff9 41 PROCESSOR_max
42};
43
db7a90aa 44
45/* Values for -mindirect-branch and -mfunction-return options. */
46enum indirect_branch {
47 indirect_branch_unset = 0,
48 indirect_branch_keep,
49 indirect_branch_thunk,
50 indirect_branch_thunk_inline,
51 indirect_branch_thunk_extern
52};
8ad6fff9 53#endif