OSDN Git Service

Support scheduling for ColdFire V1 and V3 microarchitecture.
[pf3gnuchains/gcc-fork.git] / gcc / config / spu / vec_types.h
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 /* As a special exception, if you include this header file into source files 
19    compiled by GCC, this header file does not by itself cause  the resulting 
20    executable to be covered by the GNU General Public License.  This exception 
21    does not however invalidate any other reasons why the executable file might be 
22    covered by the GNU General Public License.  */ 
23
24 #ifndef _VEC_TYPES_H_
25 #define _VEC_TYPES_H_   1
26
27 #include <spu_intrinsics.h>
28
29 /* Define additional PowerPC SIMD/Vector Multi-media eXtension
30  * single keyword vector data types for use in mapping VMX code
31  * to the SPU.
32  */
33 #define vec_bchar16     __vector unsigned char
34 #define vec_bshort8     __vector unsigned short
35 #define vec_pixel8      __vector unsigned short
36 #define vec_bint4       __vector unsigned int
37
38 #endif /* _VEC_TYPES_H_ */