2003-06-30 Chris Demetriou <cgd@broadcom.com>
[deliverable/binutils-gdb.git] / include / xtensa-config.h
CommitLineData
e0001a05
NC
1/* Xtensa configuration settings.
2 Copyright (C) 2003 Free Software Foundation, Inc.
3 Contributed by Bob Wilson (bwilson@tensilica.com) 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
27#define XCHAL_HAVE_BE 1
28#define XCHAL_HAVE_DENSITY 1
29#define XCHAL_HAVE_MAC16 0
30#define XCHAL_HAVE_MUL16 0
31#define XCHAL_HAVE_MUL32 0
32#define XCHAL_HAVE_DIV32 0
33#define XCHAL_HAVE_NSA 1
34#define XCHAL_HAVE_MINMAX 0
35#define XCHAL_HAVE_SEXT 0
36#define XCHAL_HAVE_LOOPS 1
37#define XCHAL_HAVE_BOOLEANS 0
38#define XCHAL_HAVE_FP 0
39#define XCHAL_HAVE_FP_DIV 0
40#define XCHAL_HAVE_FP_RECIP 0
41#define XCHAL_HAVE_FP_SQRT 0
42#define XCHAL_HAVE_FP_RSQRT 0
43#define XCHAL_HAVE_WINDOWED 1
44
45#define XCHAL_ICACHE_SIZE 8192
46#define XCHAL_DCACHE_SIZE 8192
47#define XCHAL_ICACHE_LINESIZE 16
48#define XCHAL_DCACHE_LINESIZE 16
49#define XCHAL_ICACHE_LINEWIDTH 4
50#define XCHAL_DCACHE_LINEWIDTH 4
51#define XCHAL_DCACHE_IS_WRITEBACK 0
52
53#define XCHAL_HAVE_MMU 1
54#define XCHAL_MMU_MIN_PTE_PAGE_SIZE 12
55
56#define XCHAL_HAVE_DEBUG 1
57#define XCHAL_NUM_IBREAK 2
58#define XCHAL_NUM_DBREAK 2
59#define XCHAL_DEBUGLEVEL 4
60
61#define XCHAL_EXTRA_SA_SIZE 0
62#define XCHAL_EXTRA_SA_ALIGN 1
63
64#endif /* !XTENSA_CONFIG_H */
This page took 0.037722 seconds and 4 git commands to generate.