OSDN Git Service

ChangeLog
[pf3gnuchains/gcc-fork.git] / gcc / config / spu / spu-modes.def
1 /* Copyright (C) 2006 Free Software Foundation, Inc.
2
3    This file is free software; you can redistribute it and/or modify it under
4    the terms of the GNU General Public License as published by the Free
5    Software Foundation; either version 2 of the License, or (at your option) 
6    any later version.
7
8    This file is distributed in the hope that it will be useful, but WITHOUT
9    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
11    for more details.
12
13    You should have received a copy of the GNU General Public License
14    along with this file; see the file COPYING.  If not, write to the Free
15    Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
16    02110-1301, USA.  */
17
18 /* Vector modes.  */
19 VECTOR_MODES (INT, 2);        /*                 V2QI */ 
20 VECTOR_MODES (INT, 4);        /*            V4QI V2HI */
21 VECTOR_MODES (INT, 8);        /*       V8QI V4HI V2SI */
22 VECTOR_MODES (INT, 16);       /* V16QI V8HI V4SI V2DI */
23         
24         
25 VECTOR_MODES (FLOAT, 8);      /*            V4HF V2SF */ 
26 VECTOR_MODES (FLOAT, 16);     /*       V8HF V4SF V2DF */ 
27         
28 /* A special mode for the intr regsister so we can treat it differently
29    for conditional moves. */
30 RANDOM_MODE (INTR);
31
32 /* cse_insn needs an INT_MODE larger than WORD_MODE, otherwise some
33    parts of it will go into an infinite loop. */
34 INT_MODE (OI, 32);