Imported Upstream version 3.2.2
[debian/gnuradio] / gnuradio-core / src / lib / filter / gr_vec_types.h
1 /* Cell single token vector types
2    Copyright (C) 2007 Free Software Foundation, Inc.
3
4    This file is free software; you can redistribute it and/or modify it under
5    the terms of the GNU General Public License as published by the Free
6    Software Foundation; either version 2 of the License, or (at your option) 
7    any later version.
8
9    This file is distributed in the hope that it will be useful, but WITHOUT
10    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
12    for more details.
13
14    You should have received a copy of the GNU General Public License
15    along with this file; see the file COPYING.  If not, write to the Free
16    Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
17    02110-1301, USA.  */
18
19 /* As a special exception, if you include this header file into source files 
20    compiled by GCC, this header file does not by itself cause  the resulting 
21    executable to be covered by the GNU General Public License.  This exception 
22    does not however invalidate any other reasons why the executable file might be 
23    covered by the GNU General Public License.  */ 
24
25 /* Single token vector data types for the PowerPC SIMD/Vector Multi-media 
26    eXtension */
27
28 #ifndef INCLUDED_GR_VEC_TYPES_H
29 #define INCLUDED_GR_VEC_TYPES_H
30
31 #define qword           __vector unsigned char
32
33 #define vec_uchar16     __vector unsigned char
34 #define vec_char16      __vector signed char
35 #define vec_bchar16     __vector bool char
36
37 #define vec_ushort8     __vector unsigned short
38 #define vec_short8      __vector signed short
39 #define vec_bshort8     __vector bool short
40
41 #define vec_pixel8      __vector pixel
42
43 #define vec_uint4       __vector unsigned int
44 #define vec_int4        __vector signed int
45 #define vec_bint4       __vector bool int
46
47 #define vec_float4      __vector float
48
49 #define vec_ullong2     __vector bool char
50 #define vec_llong2      __vector bool short
51
52 #define vec_double2     __vector bool int
53
54 #endif /* INCLUDED_GR_VEC_TYPES_H */