diff options
author | Bernd Schmidt <bernds@codesourcery.com> | 2011-07-15 09:36:40 +0000 |
---|---|---|
committer | Bernd Schmidt <bernds@gcc.gnu.org> | 2011-07-15 09:36:40 +0000 |
commit | bcead286bfebf2312981135b9c7d72eadc6d396c (patch) | |
tree | c4bd2120a6d9ab956422bfe82ffb27dcc91bc73b /gcc/config/c6x/c6x-opts.h | |
parent | 9e36aa2367507a6700c4edbd693b530cb11c64fa (diff) | |
download | gcc-bcead286bfebf2312981135b9c7d72eadc6d396c.zip gcc-bcead286bfebf2312981135b9c7d72eadc6d396c.tar.gz gcc-bcead286bfebf2312981135b9c7d72eadc6d396c.tar.bz2 |
invoke.texi (C6X Options): New section.
gcc/
* doc/invoke.texi (C6X Options): New section.
* doc/md.texi (TI C6X family): New section.
* config.gcc: Handle tic6x, in particular tic6x-*-elf and
tic6x-*-uclinux.
* longlong.h (add_ssaaaa, __umulsidi3, umul_ppmm,
count_leading_zeros, count_trailing_zeros, UMUL_TIME, UDIV_TIME):
Provide C6X definitions.
* config/c6x/c6x.md: New file.
* config/c6x/constraints.md: New file.
* config/c6x/predicates.md: New file.
* config/c6x/c6x-sched.md.in: New file.
* config/c6x/c6x-sched.md: New file.
* config/c6x/gensched.sh: New file.
* config/c6x/c6x-mult.md.in: New file.
* config/c6x/genmult.sh: New file.
* config/c6x/c6x-mult.md: New file.
* config/c6x/sync.md: New file.
* config/c6x/c6x-protos.h: New file.
* config/c6x/sfp-machine.h: New file.
* config/c6x/c6x.c: New file.
* config/c6x/c6x.h: New file.
* config/c6x/crti.s: New file.
* config/c6x/crtn.s: New file.
* config/c6x/lib1funcs.asm: New file.
* config/c6x/c6x-modes.def: New file.
* config/c6x/genopt.sh: New file.
* config/c6x/c6x.opt: New file.
* config/c6x/c6x-tables.opt: New file.
* config/c6x/c6x-opts.h: New file.
* config/c6x/c6x-isas.def: New file.
* config/c6x/elf.h: New file.
* config/c6x/elf-common.h: New file.
* config/c6x/uclinux-elf.h: New file.
* config/c6x/t-c6x: New file.
* config/c6x/t-c6x-elf: New file.
* config/c6x/t-c6x-uclinux: New file.
* config/c6x/t-c6x-softfp: New file.
* config/c6x/gtd.c: New file.
* config/c6x/gtf.c: New file.
* config/c6x/ltd.c: New file.
* config/c6x/ltf.c: New file.
* config/c6x/ged.c: New file.
* config/c6x/gef.c: New file.
* config/c6x/led.c: New file.
* config/c6x/lef.c: New file.
* config/c6x/eqd.c: New file.
* config/c6x/eqf.c: New file.
* config/c6x/libgcc-c6xeabi.ver: New file.
contrib/
* gcc_update: Add C6X generated files.
* contrib/config-list.mk: Add c6x-elf and c6x-uclinux.
libgcc/
* config.host: Handle tic6x-*-*.
* config/c6x/c6x-abi.h: New file.
From-SVN: r176308
Diffstat (limited to 'gcc/config/c6x/c6x-opts.h')
-rw-r--r-- | gcc/config/c6x/c6x-opts.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/gcc/config/c6x/c6x-opts.h b/gcc/config/c6x/c6x-opts.h new file mode 100644 index 0000000..7c00813 --- /dev/null +++ b/gcc/config/c6x/c6x-opts.h @@ -0,0 +1,36 @@ +/* Definitions for option handling for TI C6X. + Copyright (C) 2011 + Free Software Foundation, Inc. + +This file is part of GCC. + +GCC 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 3, or (at your option) +any later version. + +GCC 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 GCC; see the file COPYING3. If not see +<http://www.gnu.org/licenses/>. */ + +#ifndef C6X_OPTS_H +#define C6X_OPTS_H + +/* An enumeration of all supported target devices. */ +typedef enum c6x_cpu_type +{ +#define C6X_ISA(NAME,ENUM_VALUE,FLAGS) \ + ENUM_VALUE, +#include "c6x-isas.def" +#undef C6X_ISA + unk_isa +} c6x_cpu_t; + +enum c6x_sdata { C6X_SDATA_NONE, C6X_SDATA_DEFAULT, C6X_SDATA_ALL }; + +#endif |