]>
Commit | Line | Data |
---|---|---|
e0001a05 | 1 | /* Xtensa configuration settings. |
902695bc | 2 | Copyright (C) 2001,2002,2003 Free Software Foundation, Inc. |
e0001a05 NC |
3 | Contributed by Bob Wilson ([email protected]) at Tensilica. |
4 | ||
c6d600f0 BW |
5 | This program is free software; you can redistribute it and/or modify |
6 | it under the terms of the GNU General Public License as published by | |
7 | the Free Software Foundation; either version 2, or (at your option) | |
8 | any later version. | |
e0001a05 | 9 | |
c6d600f0 BW |
10 | This program is distributed in the hope that it will be useful, but |
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
13 | General Public License for more details. | |
e0001a05 | 14 | |
c6d600f0 BW |
15 | You should have received a copy of the GNU General Public License |
16 | along with this program; if not, write to the Free Software | |
17 | Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ | |
e0001a05 NC |
18 | |
19 | #ifndef XTENSA_CONFIG_H | |
20 | #define XTENSA_CONFIG_H | |
21 | ||
22 | /* The macros defined here match those with the same names in the Xtensa | |
23 | compile-time HAL (Hardware Abstraction Layer). Please refer to the | |
24 | Xtensa System Software Reference Manual for documentation of these | |
25 | macros. */ | |
26 | ||
05235f71 | 27 | #undef XCHAL_HAVE_BE |
e0001a05 | 28 | #define XCHAL_HAVE_BE 1 |
05235f71 BW |
29 | |
30 | #undef XCHAL_HAVE_DENSITY | |
e0001a05 | 31 | #define XCHAL_HAVE_DENSITY 1 |
05235f71 BW |
32 | |
33 | #undef XCHAL_HAVE_CONST16 | |
902695bc | 34 | #define XCHAL_HAVE_CONST16 0 |
05235f71 BW |
35 | |
36 | #undef XCHAL_HAVE_ABS | |
902695bc | 37 | #define XCHAL_HAVE_ABS 1 |
05235f71 BW |
38 | |
39 | #undef XCHAL_HAVE_ADDX | |
902695bc | 40 | #define XCHAL_HAVE_ADDX 1 |
05235f71 BW |
41 | |
42 | #undef XCHAL_HAVE_L32R | |
902695bc | 43 | #define XCHAL_HAVE_L32R 1 |
05235f71 BW |
44 | |
45 | #undef XCHAL_HAVE_MAC16 | |
e0001a05 | 46 | #define XCHAL_HAVE_MAC16 0 |
05235f71 BW |
47 | |
48 | #undef XCHAL_HAVE_MUL16 | |
e0001a05 | 49 | #define XCHAL_HAVE_MUL16 0 |
05235f71 BW |
50 | |
51 | #undef XCHAL_HAVE_MUL32 | |
e0001a05 | 52 | #define XCHAL_HAVE_MUL32 0 |
05235f71 BW |
53 | |
54 | #undef XCHAL_HAVE_DIV32 | |
e0001a05 | 55 | #define XCHAL_HAVE_DIV32 0 |
05235f71 BW |
56 | |
57 | #undef XCHAL_HAVE_NSA | |
e0001a05 | 58 | #define XCHAL_HAVE_NSA 1 |
05235f71 BW |
59 | |
60 | #undef XCHAL_HAVE_MINMAX | |
e0001a05 | 61 | #define XCHAL_HAVE_MINMAX 0 |
05235f71 BW |
62 | |
63 | #undef XCHAL_HAVE_SEXT | |
e0001a05 | 64 | #define XCHAL_HAVE_SEXT 0 |
05235f71 BW |
65 | |
66 | #undef XCHAL_HAVE_LOOPS | |
e0001a05 | 67 | #define XCHAL_HAVE_LOOPS 1 |
05235f71 BW |
68 | |
69 | #undef XCHAL_HAVE_BOOLEANS | |
e0001a05 | 70 | #define XCHAL_HAVE_BOOLEANS 0 |
05235f71 BW |
71 | |
72 | #undef XCHAL_HAVE_FP | |
e0001a05 | 73 | #define XCHAL_HAVE_FP 0 |
05235f71 BW |
74 | |
75 | #undef XCHAL_HAVE_FP_DIV | |
e0001a05 | 76 | #define XCHAL_HAVE_FP_DIV 0 |
05235f71 BW |
77 | |
78 | #undef XCHAL_HAVE_FP_RECIP | |
e0001a05 | 79 | #define XCHAL_HAVE_FP_RECIP 0 |
05235f71 BW |
80 | |
81 | #undef XCHAL_HAVE_FP_SQRT | |
e0001a05 | 82 | #define XCHAL_HAVE_FP_SQRT 0 |
05235f71 BW |
83 | |
84 | #undef XCHAL_HAVE_FP_RSQRT | |
e0001a05 | 85 | #define XCHAL_HAVE_FP_RSQRT 0 |
05235f71 BW |
86 | |
87 | #undef XCHAL_HAVE_WINDOWED | |
e0001a05 NC |
88 | #define XCHAL_HAVE_WINDOWED 1 |
89 | ||
05235f71 BW |
90 | |
91 | #undef XCHAL_ICACHE_SIZE | |
e0001a05 | 92 | #define XCHAL_ICACHE_SIZE 8192 |
05235f71 BW |
93 | |
94 | #undef XCHAL_DCACHE_SIZE | |
e0001a05 | 95 | #define XCHAL_DCACHE_SIZE 8192 |
05235f71 BW |
96 | |
97 | #undef XCHAL_ICACHE_LINESIZE | |
e0001a05 | 98 | #define XCHAL_ICACHE_LINESIZE 16 |
05235f71 BW |
99 | |
100 | #undef XCHAL_DCACHE_LINESIZE | |
e0001a05 | 101 | #define XCHAL_DCACHE_LINESIZE 16 |
05235f71 BW |
102 | |
103 | #undef XCHAL_ICACHE_LINEWIDTH | |
e0001a05 | 104 | #define XCHAL_ICACHE_LINEWIDTH 4 |
05235f71 BW |
105 | |
106 | #undef XCHAL_DCACHE_LINEWIDTH | |
e0001a05 | 107 | #define XCHAL_DCACHE_LINEWIDTH 4 |
05235f71 BW |
108 | |
109 | #undef XCHAL_DCACHE_IS_WRITEBACK | |
e0001a05 NC |
110 | #define XCHAL_DCACHE_IS_WRITEBACK 0 |
111 | ||
05235f71 BW |
112 | |
113 | #undef XCHAL_HAVE_MMU | |
e0001a05 | 114 | #define XCHAL_HAVE_MMU 1 |
05235f71 BW |
115 | |
116 | #undef XCHAL_MMU_MIN_PTE_PAGE_SIZE | |
e0001a05 NC |
117 | #define XCHAL_MMU_MIN_PTE_PAGE_SIZE 12 |
118 | ||
05235f71 BW |
119 | |
120 | #undef XCHAL_HAVE_DEBUG | |
e0001a05 | 121 | #define XCHAL_HAVE_DEBUG 1 |
05235f71 BW |
122 | |
123 | #undef XCHAL_NUM_IBREAK | |
e0001a05 | 124 | #define XCHAL_NUM_IBREAK 2 |
05235f71 BW |
125 | |
126 | #undef XCHAL_NUM_DBREAK | |
e0001a05 | 127 | #define XCHAL_NUM_DBREAK 2 |
05235f71 BW |
128 | |
129 | #undef XCHAL_DEBUGLEVEL | |
e0001a05 NC |
130 | #define XCHAL_DEBUGLEVEL 4 |
131 | ||
05235f71 BW |
132 | |
133 | #undef XCHAL_EXTRA_SA_SIZE | |
134 | #define XCHAL_EXTRA_SA_SIZE 0 | |
135 | ||
136 | #undef XCHAL_EXTRA_SA_ALIGN | |
137 | #define XCHAL_EXTRA_SA_ALIGN 1 | |
e0001a05 NC |
138 | |
139 | #endif /* !XTENSA_CONFIG_H */ |