]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/config/arm/arm-opts.h
Update copyright years.
[thirdparty/gcc.git] / gcc / config / arm / arm-opts.h
1 /* Definitions for option handling for ARM.
2 Copyright (C) 1991-2016 Free Software Foundation, Inc.
3
4 This file is part of GCC.
5
6 GCC is free software; you can redistribute it and/or modify it
7 under the terms of the GNU General Public License as published
8 by the Free Software Foundation; either version 3, or (at your
9 option) any later version.
10
11 GCC is distributed in the hope that it will be useful, but WITHOUT
12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
14 License for more details.
15
16 Under Section 7 of GPL version 3, you are granted additional
17 permissions described in the GCC Runtime Library Exception, version
18 3.1, as published by the Free Software Foundation.
19
20 You should have received a copy of the GNU General Public License and
21 a copy of the GCC Runtime Library Exception along with this program;
22 see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
23 <http://www.gnu.org/licenses/>. */
24
25 #ifndef ARM_OPTS_H
26 #define ARM_OPTS_H
27
28 /* The various ARM cores. */
29 enum processor_type
30 {
31 #undef ARM_CORE
32 #define ARM_CORE(NAME, INTERNAL_IDENT, IDENT, ARCH, FLAGS, COSTS) \
33 INTERNAL_IDENT,
34 #include "arm-cores.def"
35 #undef ARM_CORE
36 /* Used to indicate that no processor has been specified. */
37 arm_none
38 };
39
40 /* Which __fp16 format to use.
41 The enumeration values correspond to the numbering for the
42 Tag_ABI_FP_16bit_format attribute.
43 */
44 enum arm_fp16_format_type
45 {
46 ARM_FP16_FORMAT_NONE = 0,
47 ARM_FP16_FORMAT_IEEE = 1,
48 ARM_FP16_FORMAT_ALTERNATIVE = 2
49 };
50
51 /* Which ABI to use. */
52 enum arm_abi_type
53 {
54 ARM_ABI_APCS,
55 ARM_ABI_ATPCS,
56 ARM_ABI_AAPCS,
57 ARM_ABI_IWMMXT,
58 ARM_ABI_AAPCS_LINUX
59 };
60
61 enum float_abi_type
62 {
63 ARM_FLOAT_ABI_SOFT,
64 ARM_FLOAT_ABI_SOFTFP,
65 ARM_FLOAT_ABI_HARD
66 };
67
68 /* Which thread pointer access sequence to use. */
69 enum arm_tp_type {
70 TP_AUTO,
71 TP_SOFT,
72 TP_CP15
73 };
74
75 /* Which TLS scheme to use. */
76 enum arm_tls_type {
77 TLS_GNU,
78 TLS_GNU2
79 };
80 #endif