Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/arm/arm-opts.h @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children | 84e7813d76e9 |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
1 /* Definitions for option handling for ARM. | |
2 Copyright (C) 1991-2017 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 #include "arm-flags.h" | |
29 #include "arm-isa.h" | |
30 #include "arm-cpu.h" | |
31 | |
32 /* Which __fp16 format to use. | |
33 The enumeration values correspond to the numbering for the | |
34 Tag_ABI_FP_16bit_format attribute. | |
35 */ | |
36 enum arm_fp16_format_type | |
37 { | |
38 ARM_FP16_FORMAT_NONE = 0, | |
39 ARM_FP16_FORMAT_IEEE = 1, | |
40 ARM_FP16_FORMAT_ALTERNATIVE = 2 | |
41 }; | |
42 | |
43 /* Which ABI to use. */ | |
44 enum arm_abi_type | |
45 { | |
46 ARM_ABI_APCS, | |
47 ARM_ABI_ATPCS, | |
48 ARM_ABI_AAPCS, | |
49 ARM_ABI_IWMMXT, | |
50 ARM_ABI_AAPCS_LINUX | |
51 }; | |
52 | |
53 enum float_abi_type | |
54 { | |
55 ARM_FLOAT_ABI_SOFT, | |
56 ARM_FLOAT_ABI_SOFTFP, | |
57 ARM_FLOAT_ABI_HARD | |
58 }; | |
59 | |
60 /* Which thread pointer access sequence to use. */ | |
61 enum arm_tp_type { | |
62 TP_AUTO, | |
63 TP_SOFT, | |
64 TP_CP15 | |
65 }; | |
66 | |
67 /* Which TLS scheme to use. */ | |
68 enum arm_tls_type { | |
69 TLS_GNU, | |
70 TLS_GNU2 | |
71 }; | |
72 #endif |