annotate gcc/config/s390/s390-opts.h @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children 1830386684a0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 /* Definitions for option handling for IBM S/390.
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
2 Copyright (C) 1999-2018 Free Software Foundation, Inc.
111
kono
parents:
diff changeset
3
kono
parents:
diff changeset
4 This file is part of GCC.
kono
parents:
diff changeset
5
kono
parents:
diff changeset
6 GCC is free software; you can redistribute it and/or modify it under
kono
parents:
diff changeset
7 the terms of the GNU General Public License as published by the Free
kono
parents:
diff changeset
8 Software Foundation; either version 3, or (at your option) any later
kono
parents:
diff changeset
9 version.
kono
parents:
diff changeset
10
kono
parents:
diff changeset
11 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
kono
parents:
diff changeset
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
kono
parents:
diff changeset
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
kono
parents:
diff changeset
14 for more details.
kono
parents:
diff changeset
15
kono
parents:
diff changeset
16 You should have received a copy of the GNU General Public License
kono
parents:
diff changeset
17 along with GCC; see the file COPYING3. If not see
kono
parents:
diff changeset
18 <http://www.gnu.org/licenses/>. */
kono
parents:
diff changeset
19
kono
parents:
diff changeset
20 #ifndef S390_OPTS_H
kono
parents:
diff changeset
21 #define S390_OPTS_H
kono
parents:
diff changeset
22
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
23 /* Which processor to generate code or schedule for. The `cpu' attribute
111
kono
parents:
diff changeset
24 defines a list that mirrors this list, so changes to s390.md must be
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
25 made at the same time. The enumeration must also be kept in sync with
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
26 `processor_table' and `processor_flags_table' in s390.c (the enumeration
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
27 values are used as indices into these tables). */
111
kono
parents:
diff changeset
28
kono
parents:
diff changeset
29 enum processor_type
kono
parents:
diff changeset
30 {
kono
parents:
diff changeset
31 PROCESSOR_2064_Z900,
kono
parents:
diff changeset
32 PROCESSOR_2084_Z990,
kono
parents:
diff changeset
33 PROCESSOR_2094_Z9_109,
kono
parents:
diff changeset
34 PROCESSOR_2094_Z9_EC,
kono
parents:
diff changeset
35 PROCESSOR_2097_Z10,
kono
parents:
diff changeset
36 PROCESSOR_2817_Z196,
kono
parents:
diff changeset
37 PROCESSOR_2827_ZEC12,
kono
parents:
diff changeset
38 PROCESSOR_2964_Z13,
kono
parents:
diff changeset
39 PROCESSOR_3906_Z14,
kono
parents:
diff changeset
40 PROCESSOR_NATIVE,
kono
parents:
diff changeset
41 PROCESSOR_max
kono
parents:
diff changeset
42 };
kono
parents:
diff changeset
43
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
44
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
45 /* Values for -mindirect-branch and -mfunction-return options. */
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
46 enum indirect_branch {
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
47 indirect_branch_unset = 0,
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
48 indirect_branch_keep,
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
49 indirect_branch_thunk,
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
50 indirect_branch_thunk_inline,
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
51 indirect_branch_thunk_extern
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
52 };
111
kono
parents:
diff changeset
53 #endif