]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/config/s390/s390-opts.h
S/390: Add support for z15 as CPU name.
[thirdparty/gcc.git] / gcc / config / s390 / s390-opts.h
CommitLineData
cabbe12a 1/* Definitions for option handling for IBM S/390.
a5544970 2 Copyright (C) 1999-2019 Free Software Foundation, Inc.
cabbe12a
JM
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
52d4aa4f 23/* Which processor to generate code or schedule for. The `cpu' attribute
cabbe12a 24 defines a list that mirrors this list, so changes to s390.md must be
52d4aa4f
IL
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). */
cabbe12a
JM
28
29enum processor_type
30{
cabbe12a
JM
31 PROCESSOR_2064_Z900,
32 PROCESSOR_2084_Z990,
33 PROCESSOR_2094_Z9_109,
f137aa63 34 PROCESSOR_2094_Z9_EC,
cabbe12a
JM
35 PROCESSOR_2097_Z10,
36 PROCESSOR_2817_Z196,
22ac2c2f 37 PROCESSOR_2827_ZEC12,
55ac540c 38 PROCESSOR_2964_Z13,
2731a5b3 39 PROCESSOR_3906_Z14,
80f8cd77 40 PROCESSOR_8561_Z15,
cb0edc39 41 PROCESSOR_NATIVE,
cabbe12a
JM
42 PROCESSOR_max
43};
44
84b4c7b5
AK
45
46/* Values for -mindirect-branch and -mfunction-return options. */
47enum indirect_branch {
48 indirect_branch_unset = 0,
49 indirect_branch_keep,
50 indirect_branch_thunk,
51 indirect_branch_thunk_inline,
52 indirect_branch_thunk_extern
53};
cabbe12a 54#endif