diff options
Diffstat (limited to 'gcc/config/c6x/c6x-modes.def')
-rw-r--r-- | gcc/config/c6x/c6x-modes.def | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gcc/config/c6x/c6x-modes.def b/gcc/config/c6x/c6x-modes.def new file mode 100644 index 00000000000..a5af026cd41 --- /dev/null +++ b/gcc/config/c6x/c6x-modes.def @@ -0,0 +1,24 @@ +/* Definitions of target machine for GNU compiler, for TI C6x. + Copyright (C) 2010, 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/>. */ + +VECTOR_MODES (INT, 4); /* V4QI V2HI */ +VECTOR_MODES (INT, 8); /* V8QI V4HI V2SI */ + +VECTOR_MODE (FRACT, SQ, 2); /* V2SQ. */ +VECTOR_MODE (FRACT, HQ, 2); /* V2HQ. */ |