aboutsummaryrefslogtreecommitdiff
path: root/include/xtensa-config.h
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@acm.org>2008-02-11 17:53:04 +0000
committerBob Wilson <bob.wilson@acm.org>2008-02-11 17:53:04 +0000
commit6c7d412cf3470258471ef41332d68e17c0127c26 (patch)
treec8e29d15a6c46c6e367516d55855520a1fd3e809 /include/xtensa-config.h
parent7a84e3daf81a4008972728f1c0e714901c5b14f3 (diff)
downloadgdb-6c7d412cf3470258471ef41332d68e17c0127c26.zip
gdb-6c7d412cf3470258471ef41332d68e17c0127c26.tar.gz
gdb-6c7d412cf3470258471ef41332d68e17c0127c26.tar.bz2
* xtensa-config.h (XCHAL_HAVE_THREADPTR): Redefine to zero.
(XCHAL_NUM_AREGS, XCHAL_MAX_INSTRUCTION_SIZE): New.
Diffstat (limited to 'include/xtensa-config.h')
-rw-r--r--include/xtensa-config.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/xtensa-config.h b/include/xtensa-config.h
index 2aca5fe..768ff90 100644
--- a/include/xtensa-config.h
+++ b/include/xtensa-config.h
@@ -74,7 +74,7 @@
#define XCHAL_HAVE_LOOPS 1
#undef XCHAL_HAVE_THREADPTR
-#define XCHAL_HAVE_THREADPTR 1
+#define XCHAL_HAVE_THREADPTR 0
#undef XCHAL_HAVE_RELEASE_SYNC
#define XCHAL_HAVE_RELEASE_SYNC 0
@@ -103,6 +103,9 @@
#undef XCHAL_HAVE_WINDOWED
#define XCHAL_HAVE_WINDOWED 1
+#undef XCHAL_NUM_AREGS
+#define XCHAL_NUM_AREGS 64
+
#undef XCHAL_HAVE_WIDE_BRANCHES
#define XCHAL_HAVE_WIDE_BRANCHES 0
@@ -152,6 +155,9 @@
#define XCHAL_DEBUGLEVEL 4
+#undef XCHAL_MAX_INSTRUCTION_SIZE
+#define XCHAL_MAX_INSTRUCTION_SIZE 3
+
#undef XCHAL_INST_FETCH_WIDTH
#define XCHAL_INST_FETCH_WIDTH 4