diff options
author | Bob Wilson <bob.wilson@acm.org> | 2003-07-01 00:14:33 +0000 |
---|---|---|
committer | Bob Wilson <bwilson@gcc.gnu.org> | 2003-07-01 00:14:33 +0000 |
commit | e677f70c666cf42d5c87d14c15511823695f9d49 (patch) | |
tree | 4860ed13139b8c75e2cfe861723bf07ad956078c /gcc/config | |
parent | 29e531ff29f5677799bf45a62e85a442d9c492f6 (diff) | |
download | gcc-e677f70c666cf42d5c87d14c15511823695f9d49.zip gcc-e677f70c666cf42d5c87d14c15511823695f9d49.tar.gz gcc-e677f70c666cf42d5c87d14c15511823695f9d49.tar.bz2 |
xtensa-config.h: New file imported from binutils.
include/ChangeLog:
* xtensa-config.h: New file imported from binutils.
gcc/ChangeLog:
* config/xtensa/lib1funcs.asm: Use "xtensa-config.h" from
top-level include directory.
* config/xtensa/lib2funcs.S: Likewise.
* config/xtensa/xtensa.h: Likewise.
* config/xtensa/xtensa-config.h: Remove.
* doc/install.texi: Update location of "xtensa-config.h" header.
From-SVN: r68747
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/xtensa/lib1funcs.asm | 2 | ||||
-rw-r--r-- | gcc/config/xtensa/lib2funcs.S | 2 | ||||
-rw-r--r-- | gcc/config/xtensa/xtensa-config.h | 59 | ||||
-rw-r--r-- | gcc/config/xtensa/xtensa.h | 2 |
4 files changed, 3 insertions, 62 deletions
diff --git a/gcc/config/xtensa/lib1funcs.asm b/gcc/config/xtensa/lib1funcs.asm index 384b207..72cd958 100644 --- a/gcc/config/xtensa/lib1funcs.asm +++ b/gcc/config/xtensa/lib1funcs.asm @@ -28,7 +28,7 @@ along with GCC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "xtensa/xtensa-config.h" +#include "xtensa-config.h" # Define macros for the ABS and ADDX* instructions to handle cases # where they are not included in the Xtensa processor configuration. diff --git a/gcc/config/xtensa/lib2funcs.S b/gcc/config/xtensa/lib2funcs.S index b424d76..d06e122 100644 --- a/gcc/config/xtensa/lib2funcs.S +++ b/gcc/config/xtensa/lib2funcs.S @@ -28,7 +28,7 @@ along with GCC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "xtensa/xtensa-config.h" +#include "xtensa-config.h" /* __xtensa_libgcc_window_spill: This function flushes out all but the current register window. This is used to set up the stack so that diff --git a/gcc/config/xtensa/xtensa-config.h b/gcc/config/xtensa/xtensa-config.h deleted file mode 100644 index 6782568..0000000 --- a/gcc/config/xtensa/xtensa-config.h +++ /dev/null @@ -1,59 +0,0 @@ -/* Xtensa configuration settings. - Copyright (C) 2001,2002,2003 Free Software Foundation, Inc. - Contributed by Bob Wilson (bwilson@tensilica.com) at Tensilica. - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - -#ifndef XTENSA_CONFIG_H -#define XTENSA_CONFIG_H - -/* The macros defined here match those with the same names in the Xtensa - compile-time HAL (Hardware Abstraction Layer). Please refer to the - Xtensa System Software Reference Manual for documentation of these - macros. */ - -#define XCHAL_HAVE_BE 1 -#define XCHAL_HAVE_DENSITY 1 -#define XCHAL_HAVE_CONST16 0 -#define XCHAL_HAVE_ABS 1 -#define XCHAL_HAVE_ADDX 1 -#define XCHAL_HAVE_L32R 1 -#define XCHAL_HAVE_MAC16 0 -#define XCHAL_HAVE_MUL16 0 -#define XCHAL_HAVE_MUL32 0 -#define XCHAL_HAVE_DIV32 0 -#define XCHAL_HAVE_NSA 1 -#define XCHAL_HAVE_MINMAX 0 -#define XCHAL_HAVE_SEXT 0 -#define XCHAL_HAVE_LOOPS 1 -#define XCHAL_HAVE_BOOLEANS 0 -#define XCHAL_HAVE_FP 0 -#define XCHAL_HAVE_FP_DIV 0 -#define XCHAL_HAVE_FP_RECIP 0 -#define XCHAL_HAVE_FP_SQRT 0 -#define XCHAL_HAVE_FP_RSQRT 0 - -#define XCHAL_ICACHE_SIZE 8192 -#define XCHAL_DCACHE_SIZE 8192 -#define XCHAL_ICACHE_LINESIZE 16 -#define XCHAL_DCACHE_LINESIZE 16 -#define XCHAL_ICACHE_LINEWIDTH 4 -#define XCHAL_DCACHE_LINEWIDTH 4 -#define XCHAL_DCACHE_IS_WRITEBACK 0 - -#define XCHAL_HAVE_MMU 1 -#define XCHAL_MMU_MIN_PTE_PAGE_SIZE 12 - -#endif /* !XTENSA_CONFIG_H */ diff --git a/gcc/config/xtensa/xtensa.h b/gcc/config/xtensa/xtensa.h index b2ac445..5f5e112 100644 --- a/gcc/config/xtensa/xtensa.h +++ b/gcc/config/xtensa/xtensa.h @@ -20,7 +20,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* Get Xtensa configuration settings */ -#include "xtensa/xtensa-config.h" +#include "xtensa-config.h" /* Standard GCC variables that we reference. */ extern int current_function_calls_alloca; |